svn commit: r192853 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace cddl/dev/lockstat conf kern modules/dtrace modules/dtrace/dtraceall sys

Attilio Rao 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
>
> Log:
>  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
>  consumers.

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.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein


More information about the svn-src-all mailing list