Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2009 02:19:15 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Stacey Son <sson@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r192853 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace  cddl/dev/lockstat conf kern modules/dtrace modules/dtrace/dtraceall sys
Message-ID:  <3bbf2fe10905281719jaf93290x2b429f16dc0f4ff6@mail.gmail.com>
In-Reply-To: <200905262028.n4QKSNj3072741@svn.freebsd.org>
References:  <200905262028.n4QKSNj3072741@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/26 Stacey Son <sson@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10905281719jaf93290x2b429f16dc0f4ff6>