From owner-svn-src-head@FreeBSD.ORG Fri May 29 00:19:18 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0294C1065670; Fri, 29 May 2009 00:19:18 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-fx0-f159.google.com (mail-fx0-f159.google.com [209.85.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 018948FC12; Fri, 29 May 2009 00:19:16 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: by fxm3 with SMTP id 3so1177174fxm.43 for ; Thu, 28 May 2009 17:19:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=jV03Aza6Kzx3WXy+3Y4kbNFaxZcA4R5aagvyb89JvsA=; b=B0+udUOx2MKQveWvKfHaVujk06ZNcOHhq0qEIGflwB18nTi3AZ2ih23vU6hC3N/HKR hd6+s22fgHia4HAv/xgYIi76HN9w3bmlPRyyFxIe5MF8ndinXdpJXt5YWGbYdy4O76Sl NKptSpCD5X0NTVlaxdWA7pHHNLH/rkFw3Uo0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=VoN0hywMpEC7W7Gio5uLCw0GWpUzSij0kSjo8gE1+WZZUAy7s/nJ4lwM9n6nRPmMpL xCiydswGT+/C5gnsxG6CcfSQysYrvtAo27z00T0uYXj9gre9FNwGwILeN1GKg9p2+L9g 1vcjKmlnnJL378rORJ2xWLOe7rwWAh0GkhBls= MIME-Version: 1.0 Sender: asmrookie@gmail.com Received: by 10.223.113.9 with SMTP id y9mr1603199fap.61.1243556355906; Thu, 28 May 2009 17:19:15 -0700 (PDT) In-Reply-To: <200905262028.n4QKSNj3072741@svn.freebsd.org> References: <200905262028.n4QKSNj3072741@svn.freebsd.org> Date: Fri, 29 May 2009 02:19:15 +0200 X-Google-Sender-Auth: 4ca04032b8f4352c Message-ID: <3bbf2fe10905281719jaf93290x2b429f16dc0f4ff6@mail.gmail.com> From: Attilio Rao To: Stacey Son Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2009 00:19:18 -0000 2009/5/26 Stacey Son : > 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