[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84144f020710282330v5df5df32v1a766e653081a751@mail.gmail.com>
Date: Mon, 29 Oct 2007 08:30:35 +0200
From: "Pekka Enberg" <penberg@...helsinki.fi>
To: "Christoph Lameter" <clameter@....com>
Cc: "Matthew Wilcox" <matthew@....cx>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Re: [patch 09/10] SLUB: Do our own locking via slab_lock and slab_unlock.
Hi,
On 10/29/07, Christoph Lameter <clameter@....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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists