summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorPekka Enberg2006-03-25 12:06:43 +0100
committerLinus Torvalds2006-03-25 17:22:49 +0100
commit40c07ae8daa659b8feb149c84731629386873c16 (patch)
tree77d9e7572135de30f184103cc6dd36f9c0f8dfbf /mm/mmap.c
parent[PATCH] slab: introduce kmem_cache_zalloc allocator (diff)
downloadkernel-qcow2-linux-40c07ae8daa659b8feb149c84731629386873c16.tar.gz
kernel-qcow2-linux-40c07ae8daa659b8feb149c84731629386873c16.tar.xz
kernel-qcow2-linux-40c07ae8daa659b8feb149c84731629386873c16.zip
[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/mmap.c')
0 files changed, 0 insertions, 0 deletions