Re: [patch 09/10] SLUB: Do our own locking via slab_lock and slab_unlock.

From: Pekka Enberg
Date: Mon Oct 29 2007 - 02:30:46 EST


Hi,

On 10/29/07, Christoph Lameter <clameter@xxxxxxx> wrote:
> > We don't need preempt_enable for CONFIG_SMP, right?
>
> preempt_enable is needed if preemption is enabled.

Disabled? But yeah, I see that slab_trylock() can leave preemption
disabled if cmpxchg fails. Was confused by the #ifdefs... :-)
-
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/