]> err.no Git - linux-2.6/commit
[PATCH] slab: reduce numa text size
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 6 Oct 2006 07:43:52 +0000 (00:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:40 +0000 (08:53 -0700)
commit1ca4cb2418c04914e4661c059cf5b7b9262c645a
treeadd7a43542be686a552dfc48754a540fb721f811
parentda66b719d16f6ea3801b859c1ff35d5cd05c517d
[PATCH] slab: reduce numa text size

Reduce the NUMA text size of mm/slab.o a little on x86 by using a local
variable to store the result of numa_node_id().

    text    data     bss     dec     hex filename
   16858    2584      16   19458    4c02 mm/slab.o (before)
   16804    2584      16   19404    4bcc mm/slab.o (after)

[akpm@osdl.org: use better names]
[pbadari@us.ibm.com: fix that]
Cc: Christoph Lameter <christoph@lameter.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/slab.c