From owner-svn-src-all@FreeBSD.ORG Sun Jun 30 11:10:21 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 69205469; Sun, 30 Jun 2013 11:10:21 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3EFB71B6F; Sun, 30 Jun 2013 11:10:20 +0000 (UTC) Received: from jre-mbp.elischer.org (ppp121-45-226-51.lns20.per1.internode.on.net [121.45.226.51]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id r5UBAF5H072674 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 30 Jun 2013 04:10:18 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <51D01211.2030408@freebsd.org> Date: Sun, 30 Jun 2013 19:10:09 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Jilles Tjoelker Subject: Re: svn commit: r252346 - head/share/man/man9 References: <201306281633.r5SGXjFU017827@svn.freebsd.org> <51CEDE2B.60204@freebsd.org> <51CEE326.2010903@freebsd.org> <20130629140206.GA25876@stack.nl> In-Reply-To: <20130629140206.GA25876@stack.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, John Baldwin X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2013 11:10:21 -0000 On 6/29/13 10:02 PM, Jilles Tjoelker wrote: > On Sat, Jun 29, 2013 at 09:37:42PM +0800, Julian Elischer wrote: >> On 6/29/13 9:16 PM, Julian Elischer wrote: >>>> -If the owner is not currently actually running then the spin step >>>> is skipped. >>>> +then a thread attempting to acquire the mutex will spin rather >>>> than yielding >>>> +the processor. >> Am I wrong in thinking that it will only spin for a short while, >> eventually yielding? >> The original text said this but the new text implies it will spin >> forever. > The code actually spins until the state of the lock changes or the > owning thread is no longer running. either way I think this needs clarification. >