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

cvs commit: src/sys/kern kern_lockf.c src/sys/sys lockf.h

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 May 2006 17:38:59 -0700 (PDT)

dillon      2006/05/07 17:38:59 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_lockf.c 
    sys/sys              lockf.h 
  Rewrite the POSIX locking code.  It was becomming impossible to track
  down bugs in the previous version due to code complexity (in particular
  a large number of undocumented short cuts and gotos), and general lack of
  The new code uses a more straightforward method for managing the lock list
  and is far better documented.  Basically the conflict space is ranged,
  if no conflict occurs the new lock is inserted, overlaps are clipped or
  removed, and finally a quick optimization to check for and collapse
  compatible adjacent locks.
  Revision  Changes    Path
  1.28      +318 -361  src/sys/kern/kern_lockf.c
  1.8       +4 -2      src/sys/sys/lockf.h


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