From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by kanga.kvack.org (Postfix) with ESMTP id ED4076B0078 for ; Tue, 21 Jan 2014 16:39:46 -0500 (EST) Received: by mail-pd0-f181.google.com with SMTP id y10so5169743pdj.12 for ; Tue, 21 Jan 2014 13:39:46 -0800 (PST) Received: from mga02.intel.com (mga02.intel.com. [134.134.136.20]) by mx.google.com with ESMTP id xy6si6951551pab.298.2014.01.21.13.39.43 for ; Tue, 21 Jan 2014 13:39:45 -0800 (PST) Subject: Re: [PATCH v8 3/6] MCS Lock: optimizations and extra comments From: Tim Chen In-Reply-To: References: <1390267468.3138.37.camel@schen9-DESK> Content-Type: text/plain; charset="UTF-8" Date: Tue, 21 Jan 2014 13:39:02 -0800 Message-ID: <1390340342.3138.59.camel@schen9-DESK> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Jason Low Cc: Ingo Molnar , Andrew Morton , Thomas Gleixner , "Paul E.McKenney" , Will Deacon , Linux Kernel Mailing List , 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 , Peter Zijlstra , Rik van Riel , Peter Hurley , Raghavendra K T , George Spelvin , "H. Peter Anvin" , Arnd Bergmann , Aswin Chandramouleeswaran , Scott J Norton , "Figo.zhang" On Tue, 2014-01-21 at 13:01 -0800, Jason Low wrote: > /* > * Lock acquired, don't need to set node->locked to 1. Threads > * only spin on its own node->locked value for lock acquisition. > * However, since this thread can immediately acquire the lock > * and does not proceed to spin on its own node->locked, this > * value won't be used. If a debug mode is needed to > * audit lock status, then set node->locked value here. > */ I'll update the comment accordingly. Tim -- 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