diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2007-02-10 12:42:53 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 21:51:16 +0300 |
commit | 8c8cc2c10c21943dd3499a2df7aac835093b37f3 (patch) | |
tree | 70ca672d5066c87e5f85e68e4e2589473ba1aa51 /scripts | |
parent | 6e40e73097a5e4ad1b9f92fa21757343fdd6a682 (diff) | |
download | linux-8c8cc2c10c21943dd3499a2df7aac835093b37f3.tar.xz |
[PATCH] slab: cache alloc cleanups
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().
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Acked-by: Christoph Lameter <christoph@lameter.com>
Cc: Paul Jackson <pj@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions