git: kernel - Fix excessive call stack depth on stuck interrupt
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri May 19 11:10:51 PDT 2017
commit 203592a0390a38f65c5ca941c389ca470d73eeeb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri May 19 10:51:55 2017 -0700
kernel - Fix excessive call stack depth on stuck interrupt
* Fix an issue where a stuck level interrupt can result in an excessively
deep call-stack and possible panic.
* Fixed by disallow thread preemption when curthread->td_nest_count
is >= 2. The critical section count test is not sufficient for the
fast-interrupt unpend -> preemption case.
Summary of changes:
sys/kern/kern_intr.c | 10 ++--------
sys/kern/lwkt_thread.c | 17 +++++++++++++----
2 files changed, 15 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/203592a0390a38f65c5ca941c389ca470d73eeeb
--
DragonFly BSD source repository
More information about the Commits
mailing list