[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING
commit47ba87e0b1269698801310bfd1716b0538282405
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Fri, 3 Feb 2006 11:04:06 +0000 (3 03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:04 +0000 (3 08:32 -0800)
treebe429e822401e9f1a213b008b5e6e2f538754888
parent09114eb8c53d2d3b2ff9523e011cb68b2e245dce
[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