From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by kanga.kvack.org (Postfix) with ESMTP id ECA476B0035 for ; Tue, 21 Jan 2014 05:27:00 -0500 (EST) Received: by mail-wi0-f178.google.com with SMTP id cc10so4142750wib.17 for ; Tue, 21 Jan 2014 02:27:00 -0800 (PST) Received: from merlin.infradead.org (merlin.infradead.org. [2001:4978:20e::2]) by mx.google.com with ESMTPS id k6si2909787wja.131.2014.01.21.02.26.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Jan 2014 02:26:59 -0800 (PST) Date: Tue, 21 Jan 2014 11:26:26 +0100 From: Peter Zijlstra Subject: Re: [PATCH v8 3/6] MCS Lock: optimizations and extra comments Message-ID: <20140121102626.GV31570@twins.programming.kicks-ass.net> References: <1390267468.3138.37.camel@schen9-DESK> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390267468.3138.37.camel@schen9-DESK> Sender: owner-linux-mm@kvack.org List-ID: To: Tim Chen Cc: Ingo Molnar , Andrew Morton , Thomas Gleixner , "Paul E.McKenney" , Will Deacon , linux-kernel@vger.kernel.org, linux-mm , linux-arch@vger.kernel.org, Linus Torvalds , Waiman Long , Andrea Arcangeli , Alex Shi , Andi Kleen , Michel Lespinasse , Davidlohr Bueso , Matthew R Wilcox , Dave Hansen , Rik van Riel , Peter Hurley , Raghavendra K T , George Spelvin , "H. Peter Anvin" , Arnd Bergmann , Aswin Chandramouleeswaran , Scott J Norton , "Figo.zhang" On Mon, Jan 20, 2014 at 05:24:28PM -0800, Tim Chen wrote: > From: Jason Low > > Remove unnecessary operation to assign locked status to 1 if lock is > acquired without contention as this value will not be checked by lock > holder again and other potential lock contenders will not be looking at > their own lock status. Ha, read that again :-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org