cvs commit: src/sys/kern kern_sx.c
Attilio Rao
attilio at FreeBSD.org
Tue May 29 19:34:33 UTC 2007
attilio 2007-05-29 19:34:32 UTC
FreeBSD src repository
Modified files:
sys/kern kern_sx.c
Log:
Add a small fix for lock profiling in sx locks.
"0" cannot be a correct value since when the function is entered at least
one shared holder must be present and since we want the last one "1" is
the correct value.
Note that lock_profiling for sx locks is far from being perfect.
Expect further fixes for that.
Approved by: jeff (mentor)
Revision Changes Path
1.51 +1 -1 src/sys/kern/kern_sx.c
More information about the cvs-src
mailing list