From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail137.messagelabs.com (mail137.messagelabs.com [216.82.249.19]) by kanga.kvack.org (Postfix) with SMTP id A80398D0040 for ; Sat, 26 Mar 2011 17:36:56 -0400 (EDT) Date: Sat, 26 Mar 2011 16:36:51 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH] slub: Disable the lockless allocator In-Reply-To: <20110326195722.GA7748@elte.hu> Message-ID: References: <20110324185258.GA28370@elte.hu> <20110324192247.GA5477@elte.hu> <20110326112725.GA28612@elte.hu> <20110326114736.GA8251@elte.hu> <1301161507.2979.105.camel@edumazet-laptop> <20110326195722.GA7748@elte.hu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Ingo Molnar Cc: Eric Dumazet , Pekka Enberg , Thomas Gleixner , torvalds@linux-foundation.org, akpm@linux-foundation.org, tj@kernel.org, npiggin@kernel.dk, rientjes@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org On Sat, 26 Mar 2011, Ingo Molnar wrote: > > Subject: per_cpu: Fixup cmpxchg_double for !SMP > > > > cmpxchg_double should only be provided for SMP. In the UP case > > the GS register is not defined and the function will fail. > > > > Signed-off-by: Christoph Lameter > > I.e. the bug got introduced by: > > | commit b9ec40af0e18fb7d02106be148036c2ea490fdf9 > | Author: Christoph Lameter > | Date: Mon Feb 28 11:02:24 2011 +0100 > | > | percpu, x86: Add arch-specific this_cpu_cmpxchg_double() support > > and then the lockless allocator made use of it, right? Correct. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org