From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [rfc][patch] store-free path walking Date: Wed, 7 Oct 2009 12:25:03 -0700 (PDT) Message-ID: References: <20091006064919.GB30316@wotan.suse.de> <20091006101414.GM5216@kernel.dk> <20091006122623.GE30316@wotan.suse.de> <20091006124941.GS5216@kernel.dk> <20091007085849.GN30316@wotan.suse.de> <20091007164622.GX30316@wotan.suse.de> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Jens Axboe , Linux Kernel Mailing List , linux-fsdevel@vger.kernel.org, Ravikiran G Thirumalai , Peter Zijlstra To: Nick Piggin Return-path: In-Reply-To: <20091007164622.GX30316@wotan.suse.de> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Wed, 7 Oct 2009, Nick Piggin wrote: > > Oh I did that, used a "seqcount" which is the bare sequence counter > (and update it while holding d_lock). Oh, I didn't notice, for a really silly reason: I looked at how you had changed DNAME_INLINE_LEN_MIN on 64-bit, and noticed that you were using 8 bytes for your sequence lock. But that's only true due to the padding things, and the seqcount itself is indeed just 4 bytes. Sad. But we do have the added requirement that we want to keep the commonly used fields together in the same cacheline, so maybe it's unavoidable. Linus