Re: [patch 0/6] Per cpu structures for SLUB

From: Christoph Lameter
Date: Thu Aug 23 2007 - 15:25:25 EST


On Thu, 23 Aug 2007, Peter Zijlstra wrote:

> while I like this patch set I'm at odds with the interaction of this and
> making the alloc/free fast paths lockless.
>
> The main race is s->cpu_slab[] and c->freelist. How does one close that
> gap?

By either reloading the cpu slab after disabling interupts (my initial
approach) or by disabling preemption.

> (btw, have you looked at my -rt slub patch?)

I skimmed over it. Not sure what to make of it.

-
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/