cvs commit: src/sys/kern kern_mutex.c src/sys/sys lock_profile.h mutex.h

Kip Macy kmacy at FreeBSD.org
Fri Dec 15 18:37:58 PST 2006


kmacy       2006-12-16 02:37:58 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_mutex.c 
    sys/sys              lock_profile.h mutex.h 
  Log:
  - Fix some gcc warnings in lock_profile.h
  - add cnt_hold cnt_lock support for spin mutexes
  - make sure contested is initialized to zero to only bump contested when appropriate
  - move initialization function to kern_mutex.c to avoid cyclic dependency between
    mutex.h and lock_profile.h
  
  Revision  Changes    Path
  1.179     +20 -6     src/sys/kern/kern_mutex.c
  1.8       +16 -18    src/sys/sys/lock_profile.h
  1.86      +4 -0      src/sys/sys/mutex.h


More information about the cvs-src mailing list