DragonFly commits List (threaded) for 2008-06
DragonFly BSD
DragonFly commits List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/sys globaldata.h src/sys/kern lwkt_thread.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Jun 2008 09:54:22 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]