Re: [PATCH] SLUB use cmpxchg_local

Christoph Lameter
2007-08-22T00:34:58Z

On Tue, 21 Aug 2007, Mathieu Desnoyers wrote:

> As I am going back through the initial cmpxchg_local implementation, it
> seems like it was executing __slab_alloc() with preemption disabled,
> which is wrong. new_slab() is not designed for that.

The version I send you did not use preemption.

We need to make a decision if we want to go without preemption and cmpxchg
or with preemption and cmpxchg_local.

If we really want to do this then the implementation of all of these
components need to result in competitive performance on all platforms.