cvs commit: src/sys/sys globaldata.h src/sys/kern lwkt_thread.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jun 2 09:56:14 PDT 2008
dillon 2008/06/02 09:54:22 PDT
DragonFly src repository
Modified files:
sys/sys globaldata.h
sys/kern lwkt_thread.c
Log:
Even using the objcache we need a one-per-cpu free-thread cache in order
to keep an exiting thread intact throughout its exit sequence.
This fixes a double-fault which can occur on shutdown. The bug was mainly
tickled by exiting kernel threads.
Revision Changes Path
1.49 +1 -1 src/sys/sys/globaldata.h
1.115 +31 -6 src/sys/kern/lwkt_thread.c
http://www.dragonflybsd.org/cvsweb/src/sys/sys/globaldata.h.diff?r1=1.48&r2=1.49&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.114&r2=1.115&f=u
More information about the Commits
mailing list