cvs commit: src/sys/kern lwkt_thread.c

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 28 16:43:19 PDT 2005


dillon      2005/07/28 16:41:42 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_2)
    sys/kern             lwkt_thread.c 
  Log:
  MFC 1.77.  The MP locking state can change when lwkt_chktokens() returns
  a failure.  This occurs because we are trying to adjust the MP locking state
  for the target thread (not yet switched to) rather then the current thread.
    Recalculate the MP locking state in that situation to avoid an MP lock
   mismatch panic.
  
  Revision  Changes    Path
  1.70.2.1  +11 -2     src/sys/kern/lwkt_thread.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/lwkt_thread.c.diff?r1=1.70&r2=1.70.2.1&f=u





More information about the Commits mailing list