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

Pekka Enberg
2007-10-29T06:30:44Z

Hi,

On 10/29/07, Christoph Lameter <clameter@sgi.com> 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... :-)