svn commit: r192853 - in head/sys:
cddl/dev/lockstat conf kern modules/dtrace modules/dtrace/dtraceall
attilio at freebsd.org
Fri May 29 00:19:18 UTC 2009
2009/5/26 Stacey Son <sson at freebsd.org>:
> Author: sson
> Date: Tue May 26 20:28:22 2009
> New Revision: 192853
> URL: http://svn.freebsd.org/changeset/base/192853
> Add the OpenSolaris dtrace lockstat provider. The lockstat provider
> adds probes for mutexes, reader/writer and shared/exclusive locks to
> gather contention statistics and other locking information for
> dtrace scripts, the lockstat(1M) command and other potential
I have a question now.
In rwlocks, your algorithm doesn't bump spin_cnt for the adaptive
spinning in read mode.
Is that intendend? I don't think so, probabilly we should fix it by
bumping spin_cnt also in the adaptive spinning in read mode.
Peace can only be achieved by understanding - A. Einstein
More information about the svn-src-all