From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Chen Subject: Re: [PATCH v8 3/6] MCS Lock: optimizations and extra comments Date: Tue, 21 Jan 2014 13:39:02 -0800 Message-ID: <1390340342.3138.59.camel@schen9-DESK> References: <1390267468.3138.37.camel@schen9-DESK> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: owner-linux-mm@kvack.org 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 Anv List-Id: linux-arch.vger.kernel.org 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