From owner-svn-src-all@FreeBSD.ORG Fri Aug 16 09:39:26 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]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7DC4A1C2; Fri, 16 Aug 2013 09:39:26 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 05C1F2AFD; Fri, 16 Aug 2013 09:39:25 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id id13so1301363vcb.32 for ; Fri, 16 Aug 2013 02:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=Zo5C8eCnQm+MK+CUhBRV0ymmhyFSjdhhBPwbCvGcK14=; b=oYuYw0mK8TRxmOz85z9KA07pa0vVGB1gupPqrvD+SZDrj049EvDNT84Mt3jL/d1Q8M UBy6PtGs2gWTYWzncOpB5nr72lNdjl+k/UIcfVeJx4VL+Ypp9tNVkJhXPC9385pMQSkj repPiE/5MsiHGcZTv3djbTGPI3EY8HpCDj2l0QE/RwwrO2hJmC4kHWPY9Hs0r7O9W+hK BdffNgXl+x2TG1hQPrTSjNfScbUhQzhEPTDTsN0wi1NsqzrucpxB54rh2fSO+niGg4ei LSVV6teojzdMA5d9Vv0rzCNf9wKvwTm+I1Mze1IVK5GyfZY2rblZ7ZHzcLnnogKtD+Ir nkzg== X-Received: by 10.58.217.167 with SMTP id oz7mr391754vec.15.1376645965069; Fri, 16 Aug 2013 02:39:25 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.58.229.167 with HTTP; Fri, 16 Aug 2013 02:38:44 -0700 (PDT) In-Reply-To: <520D49EB.9060308@freebsd.org> References: <201308152019.r7FKJI0H095440@svn.freebsd.org> <520D3AD8.4090207@freebsd.org> <520D49EB.9060308@freebsd.org> From: Ivan Voras Date: Fri, 16 Aug 2013 11:38:44 +0200 X-Google-Sender-Auth: xWmNEaDZaGJB3aJDULewxZMLlEM Message-ID: Subject: Re: svn commit: r254380 - in head/sys: kern sys To: Colin Percival Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org 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: Fri, 16 Aug 2013 09:39:26 -0000 > We have a single-writer / multiple-readers lock on *any particular byte* > of a vnode. The rangelock code is what keeps track of this, and the > locking contention I was reducing was in the rangelock bookkeeping. So, for example, if multiple processes or multiple threads read or write a file somewhat unintelligently (a small file, operations on the whole file, like in blogbench), they will effectively content for the byte 0, right?