Don't verify td_locks accounting after a panic.
Reported by: pho X-MFC with: r331738
This commit is contained in:
parent
a7dfa8ed18
commit
82b6c3b99e
@ -382,7 +382,8 @@ do { \
|
||||
|
||||
#define TD_LOCKS_INC(td) ((td)->td_locks++)
|
||||
#define TD_LOCKS_DEC(td) do { \
|
||||
KASSERT((td)->td_locks > 0, ("thread %p owns no locks", (td))); \
|
||||
KASSERT(SCHEDULER_STOPPED_TD(td) || (td)->td_locks > 0, \
|
||||
("thread %p owns no locks", (td))); \
|
||||
(td)->td_locks--; \
|
||||
} while (0)
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user