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

cvs commit: src/sys/kern lwkt_thread.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 11:27:54 -0700 (PDT)

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



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