[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121024153359.GK16230@one.firstfloor.org>
Date: Wed, 24 Oct 2012 17:33:59 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Christoph Lameter <cl@...ux.com>
Cc: andi@...stfloor.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Joonsoo Kim <js1304@...il.com>,
David Rientjes <rientjes@...gle.com>,
Pekka Enberg <penberg@...nel.org>,
Glauber Costa <glommer@...allels.com>
Subject: Re: [PATCH v2 1/2] kmem_cache: include allocators code directly into slab_common
On Wed, Oct 24, 2012 at 02:29:09PM +0000, Christoph Lameter wrote:
> On Wed, 24 Oct 2012, Glauber Costa wrote:
>
> > Because of that, we either have to move all the entry points to the
> > mm/slab.h and rely heavily on the pre-processor, or include all .c files
> > in here.
>
> Hmm... That is a bit of a radical solution. The global optimizations now
> possible with the new gcc compiler include the ability to fold functions
> across different linkable objects. Andi, is that usable for kernel builds?
Yes, but you need a fairly large patchkit which is not mainline yet.
https://github.com/andikleen/linux-misc/tree/lto
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
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