Re: [PATCH] slub: Disable the lockless allocator

From: Christoph Lameter
Date: Sat Mar 26 2011 - 17:37:26 EST


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 <cl@xxxxxxxxx>
>
> I.e. the bug got introduced by:
>
> | commit b9ec40af0e18fb7d02106be148036c2ea490fdf9
> | Author: Christoph Lameter <cl@xxxxxxxxx>
> | 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/