Date: Wed, 23 May 2007 18:46:54 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys lock_profile.h Message-ID: <200705231846.l4NIktJG053386@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb         2007-05-23 18:46:54 UTC
  FreeBSD src repository
  Modified files:
    sys/sys              lock_profile.h 
  Log:
  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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705231846.l4NIktJG053386>
