Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751471Ab1CZVg5 (ORCPT ); Sat, 26 Mar 2011 17:36:57 -0400 Received: from smtp106.prem.mail.ac4.yahoo.com ([76.13.13.45]:25088 "HELO smtp106.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750892Ab1CZVg4 (ORCPT ); Sat, 26 Mar 2011 17:36:56 -0400 X-Yahoo-SMTP: _Dag8S.swBC1p4FJKLCXbs8NQzyse1SYSgnAbY0- X-YMail-OSG: hpZ0.PEVM1nESAgaXp6khgq.JbZRZYpNFmtotlCQ1eBAbAi .rFZSOYsufcQFSTVySdHdLWYxJpM5cMb6eqxaOb_rnQBQaUkCTmjiG2WjW39 9LEb.op4Uc8cbdgrJYDiT8MV45_1RneCVSz2WjgetotFk1SyadfVk930pY1p SpQpSBkCerGBM7xiyKfhnNTVdmZI_vn87V8p8oNZAO2st.ZXtiZ3je3JxpdM iQsn6fP4KOQ8wgsbE5i86lQNytfy95Pkl.sTlEZ6mE7vWl.IiHCXoTb5JFwQ cpuz3S7TILklXsxWJDVdwnaOMbCdUSWIO.3aMjXCM_m3Jg7kG X-Yahoo-Newman-Property: ymail-3 Date: Sat, 26 Mar 2011 16:36:51 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home 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 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> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 858 Lines: 26 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/