diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-05-08 00:23:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-08 11:14:58 -0700 |
commit | 24c32d733dd44dbc5b9dcd0b8de58e16fdbeac76 (patch) | |
tree | ecec100dc2c779d09669d08681339ded6bf5409a /fs/hfs | |
parent | d52b908646b88cb1952ab8c9b2d4423908a23f11 (diff) | |
download | linux-exynos-24c32d733dd44dbc5b9dcd0b8de58e16fdbeac76.tar.gz linux-exynos-24c32d733dd44dbc5b9dcd0b8de58e16fdbeac76.tar.bz2 linux-exynos-24c32d733dd44dbc5b9dcd0b8de58e16fdbeac76.zip |
mm: shrink parent dentries when shrinking slab
Teach the dentry slab shrinker to aggressively shrink parent dentries when
shrinking the dentry cache.
This is done to attempt to improve the situation where the dentry slab cache
gets a lot of internal fragmentation due to pages containing directory
dentries. It is expected that this change will cause some of those dentries
to be reaped earlier, and with less scanning.
Needs careful testing.
Cc: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions