Messages in this thread | | | Date | Mon, 29 Oct 2007 08:30:35 +0200 | From | "Pekka Enberg" <> | Subject | Re: [patch 09/10] SLUB: Do our own locking via slab_lock and slab_unlock. |
| |
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... :-) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |