]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Fri, 3 Feb 2006 11:04:06 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:04 +0000 (08:32 -0800)
commit9916a6febd6cefb22274b56d7f883e308f5ab25b
treebe429e822401e9f1a213b008b5e6e2f538754888
parentf897c360ff99b4d3309b57bec58d116f8465406f
[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING

Shrinks "struct dentry" from 128 bytes to 124 on x86, allowing 31 objects
per slab instead of 30.

Cc: John Levon <levon@movementarian.org>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/dcache.c
include/linux/dcache.h