cvs commit: src/sys/conf options src/sys/kern kern_sx.c src/sys/sys sx.h

Attilio Rao attilio at FreeBSD.org
Fri Jul 6 13:20:45 UTC 2007


attilio     2007-07-06 13:20:44 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             options 
    sys/kern             kern_sx.c 
    sys/sys              sx.h 
  Log:
  Fix some problems with lock_profiling in sx locks:
  - Adjust lock_profiling stubs semantic in the hard functions in order to be
    more accurate and trustable
  - Disable shared paths for lock_profiling.  Actually, lock_profiling has a
    subtle race which makes results caming from shared paths not completely
    trustable. A macro stub (LOCK_PROFILING_SHARED) can be actually used for
    re-enabling this paths, but is currently intended for developing use only.
  - Use homogeneous names for automatic variables in hard functions regarding
    lock_profiling
  - Style fixes
  - Add a CTASSERT for some flags building
  
  Discussed with: kmacy, kris
  Approved by: jeff (mentor)
  Approved by: re
  
  Revision  Changes    Path
  1.600     +1 -0      src/sys/conf/options
  1.54      +32 -22    src/sys/kern/kern_sx.c
  1.37      +3 -1      src/sys/sys/sx.h


More information about the cvs-src mailing list