Date: Fri, 6 Jul 2007 13:20:44 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf options src/sys/kern kern_sx.c src/sys/sys sx.h Message-ID: <200707061320.l66DKi1B002216@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707061320.l66DKi1B002216>
