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

cvs commit: src/sys/kern vfs_bio.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Nov 2005 11:14:05 -0800 (PST)

dillon      2005/11/14 11:14:05 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_bio.c 
  Temporarily check for and correct a race in getnewbuf() that exists due
  to the fact that lockmgr locks use tokens for their interlock.  The use
  of a token can cause the atomicy of the big giant lock to be temporarily
  lost and wind up breaking the assumed atomicy of higher level operations that
  believed themselves to be safe making lockmgr calls with the LK_NOWAIT flag.
  The general problem will soon be fixed by changing the lockmgr interlock
  from a token to one of Jeffrey Hsu's spin locks.  Fortunately there are
  only a few places left in DragonFly where LK_INTERLOCK is used.
  Revision  Changes    Path
  1.52      +10 -2     src/sys/kern/vfs_bio.c


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