Re: slub: UML and CONFIG_CMPXCHG_LOCAL

From: Christoph Lameter
Date: Tue May 31 2011 - 10:30:33 EST


On Sun, 29 May 2011, Richard Weinberger wrote:

> With commit 1759415e you've removed all #ifdef CONFIG_CMPXCHG_LOCAL's from slub.
> This change breaks slub (again) on UML.
> UML does not implement this_cpu_cmpxchg16b_emu().

It does not have to implement it. The this_cpu_ops can fall back to
generic implementations.

> Is there anything I can do to have slub on UML?

Yes, rely on the generic implementation of this_cpu_cmpxchg.
--
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/