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 2ADE96B011F for ; Wed, 6 Nov 2013 16:59:19 -0500 (EST) Received: by mail-pd0-f181.google.com with SMTP id x10so118377pdj.26 for ; Wed, 06 Nov 2013 13:59:18 -0800 (PST) Received: from psmtp.com ([74.125.245.176]) by mx.google.com with SMTP id ar5si209434pbd.32.2013.11.06.13.59.16 for ; Wed, 06 Nov 2013 13:59:17 -0800 (PST) Received: by mail-qa0-f41.google.com with SMTP id k4so2745539qaq.0 for ; Wed, 06 Nov 2013 13:59:15 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <527AB7CA.4020502@zytor.com> References: <1383773816.11046.352.camel@schen9-DESK> <527AB7CA.4020502@zytor.com> Date: Wed, 6 Nov 2013 13:59:14 -0800 Message-ID: Subject: Re: [PATCH v3 0/4] MCS Lock: MCS lock code cleanup and optimizations From: Michel Lespinasse Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: "H. Peter Anvin" Cc: Tim Chen , Ingo Molnar , Andrew Morton , Thomas Gleixner , linux-kernel@vger.kernel.org, linux-mm , linux-arch@vger.kernel.org, Linus Torvalds , Waiman Long , Andrea Arcangeli , Alex Shi , Andi Kleen , Davidlohr Bueso , Matthew R Wilcox , Dave Hansen , Peter Zijlstra , Rik van Riel , Peter Hurley , "Paul E.McKenney" , Raghavendra K T , George Spelvin , Arnd Bergmann , Aswin Chandramouleeswaran , Scott J Norton , Will Deacon , "Figo.zhang" On Wed, Nov 6, 2013 at 1:42 PM, H. Peter Anvin wrote: > Perhaps I'm missing something here, but what is MCS lock and what is the > value? Its a kind of queued lock where each waiter spins on a a separate memory word, instead of having them all spin on the lock's memory word. This helps with scalability when many waiters queue on the same lock. -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- 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