diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2006-03-25 03:06:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-25 08:22:49 -0800 |
commit | 40c07ae8daa659b8feb149c84731629386873c16 (patch) | |
tree | 77d9e7572135de30f184103cc6dd36f9c0f8dfbf /mm/slab.c | |
parent | a8c0f9a41f88da703ade33f9c1626a55c786e8bb (diff) |
[PATCH] slab: optimize constant-size kzalloc calls
As suggested by Eric Dumazet, optimize kzalloc() calls that pass a
compile-time constant size. Please note that the patch increases kernel
text slightly (~200 bytes for defconfig on x86).
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/slab.c')
0 files changed, 0 insertions, 0 deletions