lkml.org 
[lkml]   [2011]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] slub: Disable the lockless allocator
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@linux.com>
>
> I.e. the bug got introduced by:
>
> | commit b9ec40af0e18fb7d02106be148036c2ea490fdf9
> | Author: Christoph Lameter <cl@linux.com>
> | 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.



\
 
 \ /
  Last update: 2011-03-26 22:39    [W:0.082 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site