cvs commit: src/sys/kern kern_lock.c src/sys/sys lockmgr.h

John Baldwin jhb at
Fri Mar 30 18:07:25 UTC 2007

jhb         2007-03-30 18:07:25 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_lock.c 
    sys/sys              lockmgr.h 
  - Use lock_init/lock_destroy() to setup the lock_object inside of lockmgr.
    We can now use LOCK_CLASS() as a stronger check in lockmgr_chain() as a
    result.  This required putting back lk_flags as lockmgr's use of flags
    conflicted with other flags in lo_flags otherwise.
  - Tweak 'show lock' output for lockmgr to match sx, rw, and mtx.
  Revision  Changes    Path
  1.109     +11 -7     src/sys/kern/kern_lock.c
  1.53      +2 -2      src/sys/sys/lockmgr.h

More information about the cvs-src mailing list