diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-07-17 04:03:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:01 -0700 |
commit | 2e443fd003d76394a8ceb78f079260478aa10710 (patch) | |
tree | e67fe6e1382ec7a2f636ab09285a41620192eb9f /arch/sh | |
parent | 0c710013200e72b5e0bc680ff4ec6bdac53c5ce8 (diff) |
SLUB: extract dma_kmalloc_cache from get_cache.
The rarely used dma functionality in get_slab() makes the function too
complex. The compiler begins to spill variables from the working set onto the
stack. The created function is only used in extremely rare cases so make sure
that the compiler does not decide on its own to merge it back into get_slab().
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions