cvs commit: src/sys/kern lwkt_thread.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Sep 27 11:28:38 PDT 2007
dillon 2007/09/27 11:27:54 PDT
DragonFly src repository
Modified files:
sys/kern lwkt_thread.c
Log:
Interrupt thread preemption was switching in threads with held tokens
without acquiring the tokens. Just don't preempt if the target thread
is holding a token.
This fixes a token-related panic when using the NDIS driver. NDIS
is the only driver which uses tokens in its interrupt handler.
Revision Changes Path
1.110 +12 -1 src/sys/kern/lwkt_thread.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.109&r2=1.110&f=u
More information about the Commits
mailing list