[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1004011055150.16531@router.home>
Date: Thu, 1 Apr 2010 10:55:52 -0500 (CDT)
From: Christoph Lameter <cl@...ux-foundation.org>
To: David Howells <dhowells@...hat.com>
cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"H. Peter Anvin" <hpa@...or.com>, Matthew Wilcox <matthew@....cx>,
Yinghai Lu <yinghai@...nel.org>, Rabin Vincent <rabin@....in>,
lkml <linux-kernel@...r.kernel.org>, penberg@...helsinki.fi,
linux-arch@...r.kernel.org
Subject: Re: start_kernel(): bug: interrupts were enabled early
On Thu, 1 Apr 2010, David Howells wrote:
>
> Can we provide a kmem_cache_create_early()? One that takes no locks and gets
> cleaned up with the other __init stuff?
Sure. We can also check if we are early in boot in kmem_cache_create and
just not take the semaphores (which are useless if we are single
threaded).
--
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