Hang detection additions.

This commit is contained in:
Geoffrey Challen
2017-02-09 09:49:03 -05:00
parent 8435ba6436
commit 8af1edae0e
8 changed files with 103 additions and 2 deletions

View File

@@ -87,6 +87,11 @@ struct cpu {
struct tlbshootdown c_shootdown[TLBSHOOTDOWN_MAX];
unsigned c_numshootdown;
struct spinlock c_ipi_lock;
/*
* Accessed by other cpus. Protected inside hangman.c.
*/
HANGMAN_ACTOR(c_hangman);
};
/*