Re: [PATCH 2/5] cpuset memory spread page cache implementation andhooks

From: Pekka J Enberg
Date: Mon Feb 06 2006 - 02:12:31 EST


On Sun, 5 Feb 2006, Paul Jackson wrote:
> These two page_cache_alloc*(), and perhaps also __cache_alloc() when
> Pekka or I gets a handle on it, are candidates for this marking, as
> routines to inline on UMA, out of line on NUMA.

For slab, I found that the following two patches reduce text size most
(for i386 NUMAQ config) while keeping UMA path the same. I don't have
actual NUMA-capable hardware so I have no way to benchmark them. Both
patches move code out-of-line and thus introduce new function calls which
might affect performance negatively.

http://www.cs.helsinki.fi/u/penberg/linux/penberg-2.6/penberg-01-slab/slab-alloc-path-cleanup.patch
http://www.cs.helsinki.fi/u/penberg/linux/penberg-2.6/penberg-01-slab/slab-reduce-text-size.patch

Pekka
-
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/