Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751416Ab3IIAit (ORCPT ); Sun, 8 Sep 2013 20:38:49 -0400 Received: from mail-vc0-f179.google.com ([209.85.220.179]:36967 "EHLO mail-vc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885Ab3IIAir (ORCPT ); Sun, 8 Sep 2013 20:38:47 -0400 MIME-Version: 1.0 In-Reply-To: <20130909003517.GJ13318@ZenIV.linux.org.uk> 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> Date: Sun, 8 Sep 2013 17:38:46 -0700 X-Google-Sender-Auth: dmw-hJz_rdfCDg0Cf-_p4e1-rnE Message-ID: Subject: Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount From: Linus Torvalds To: Al Viro 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" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 21 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/