Re: [PATCH] SLUB use cmpxchg_local

Christoph Lameter
2007-08-21T21:36:43Z

On Tue, 21 Aug 2007, Mathieu Desnoyers wrote:

> Therefore, in the test where we have separate passes for slub allocation
> and free, we hit mostly the slow path. Any particular reason for that ?

Maybe on SMP you are schedule to run on a different processor? Note that
I ran my tests at early boot where such effects do not occur.

> Note that the alloc/free test (test 2) seems to hit the fast path as
> expected.

It is much more likely in that case that the execution thread stays on one
processor.