On 10/24/2012 06:29 PM, 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? > In general, it takes quite a lot of time to take all those optimizations for granted. We still live a lot of time with multiple compiler versions building distros, etc, for quite some time. I would expect the end result for anyone not using such a compiler to be a sudden performance drop when using a new kernel. Not really pleasant. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>