From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: Avoiding the dentry d_lock on final dput(), part deux: transactional memory Date: Mon, 30 Sep 2013 13:04:34 -0700 Message-ID: References: <5249D897.1010109@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Ingo Molnar , Peter Zijlstra , Benjamin Herrenschmidt , "Chandramouleeswaran, Aswin" , "Norton, Scott J" , George Spelvin , Linux Kernel Mailing List , linux-fsdevel , ppc-dev To: Waiman Long Return-path: In-Reply-To: <5249D897.1010109@hp.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Sep 30, 2013 at 1:01 PM, Waiman Long wrote: > > I think this patch is worth a trial if relevant hardware is more widely > available. The TSX code certainly need to be moved to an architecture > specific area and should be runtime enabled using a static key. We also need > more TSX support infrastructure in place first. I think we can pick that up from Andi's patches, he should have that. Although that did have very x86-specific naming (ie "xbegin"). And I don't think he used "asm goto" to quite the same advantage as this - and I think we do want to make sure that the overhead is minimal. Linus