From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount Date: Sun, 8 Sep 2013 17:38:46 -0700 Message-ID: References: <1375758759-29629-2-git-send-email-Waiman.Long@hp.com> <1377751465.4028.20.camel@pasglop> <20130829070012.GC27322@gmail.com> <20130909000300.GH13318@ZenIV.linux.org.uk> <20130909003517.GJ13318@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Ingo Molnar , Benjamin Herrenschmidt , Waiman Long , Jeff Layton , Miklos Szeredi , Ingo Molnar , Thomas Gleixner , linux-fsdevel , Linux Kernel Mailing List , Peter Zijlstra , Steven Rostedt , Andi Kleen , "Chandramouleeswaran, Aswin" , "Norton, Scott J" To: Al Viro Return-path: In-Reply-To: <20130909003517.GJ13318@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Sun, Sep 8, 2013 at 5:35 PM, Al Viro wrote: > > That should also work, replacing the current tip of #for-next. Do you > prefer to merge those two diffs of yours into a single commit? If you're ok with my patch (it's now also tested, I'm running with it and it looks fine), I'll commit that one as-is. When you say "those two diffs of yours", which two are you talking about? I already committed the "dead lockref" part separately - it may be "preparatory", but it was preparatory cleanup that didn't change semantics, so it's better to be separate anyway. The last patch I sent out a few moments ago is the one that actually fixes things so that "dput()" isn't done under the RCU lock etc. Linus