summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-10-31 20:01:08 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-31 20:01:08 -0800
commit55ad55f101bab05e2b2e474ed0df1aa41d60e9e9 (patch)
treec7c85c8a1af4ef0d848662494bf04740584f3887 /include/linux/root_dev.h
parent2ee50b65e1000c7b2cda3ec8a6092c174dec3343 (diff)
[PATCH] improved space efficiency in dcache
Currently we are storing filenames which are 16-chars or less inside struct dentry itself and then separately allocating larger names. But this leaves spare space in the dentry - the dentry slab cache is using cacheline alignment. In my build, struct dentry is 112 bytes so there are at least an additional 16 bytes in there. And the number of files which have names in the 16-32 char range will be significant. So Manfred's patch changes the dcache code to utilise _all_ the space between the last member of the dentry and the start of the next cacheline.
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions