]> git.baikalelectronics.ru Git - kernel.git/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)
commit7be69ff053893316181c10d0bf949275002c6543
treeadd7a43542be686a552dfc48754a540fb721f811
parent69f1162d2c78259ada99ec707a0d00c11ec0f7cf
[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