cvs commit: src/sys/sys lock_profile.h

John Baldwin jhb at
Wed May 23 18:46:55 UTC 2007

jhb         2007-05-23 18:46:54 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              lock_profile.h 
  Don't set lo_name and clobber lo_flags in lock_profile_object_init().
  This was just wasteful when this was always called before lock_init()
  (which overwrote both fields each time), but when
  lock_profile_object_init() was moved into lock_init() the clearing of
  lo_flags proved fatal (all locks became spin locks to _sleep(), etc.)
  Reported by:    kris
  Revision  Changes    Path
  1.13      +0 -2      src/sys/sys/lock_profile.h

More information about the cvs-all mailing list