Re: [PATCH] slab: cache alloc cleanups

From: Andrew Morton
Date: Fri Jan 05 2007 - 14:51:55 EST


On Fri, 5 Jan 2007 13:46:45 +0200 (EET)
Pekka J Enberg <penberg@xxxxxxxxxxxxxx> wrote:

> Clean up __cache_alloc and __cache_alloc_node functions a bit. We no
> longer need to do NUMA_BUILD tricks and the UMA allocation path is much
> simpler. No functional changes in this patch.
>
> Note: saves few kernel text bytes on x86 NUMA build due to using gotos in
> __cache_alloc_node() and moving __GFP_THISNODE check in to fallback_alloc().

Does this actually clean things up, or does it randomly move things around
while carefully retaining existing obscurity? Not sure..


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/