lkml.org 
[lkml]   [2011]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] Per-container dcache size limitation
Date
Hi,

Since v1, there is not too much new here.
I'm incorporating David's suggestion of calling the sb
shrinker, which will, in effect, prune the icache and
other sb related objects as well.

I am also keeping the mount based interface, since I
still believe it is the way to go. But I'm obviously
still open for suggestions. Some small corrections
were also made to it since v1. Specifically, bind
mounts are not allowed to alter the original sb dcache
size.

Glauber Costa (4):
factor out single-shrinker code
Keep nr_dentry per super block
limit nr_dentries per superblock
parse options in the vfs level

fs/dcache.c | 44 +++++++++++-
fs/namespace.c | 105 ++++++++++++++++++++++++++
fs/super.c | 16 ++++-
include/linux/dcache.h | 4 +
include/linux/fs.h | 3 +
include/linux/shrinker.h | 6 ++
mm/vmscan.c | 185 ++++++++++++++++++++++++----------------------
7 files changed, 274 insertions(+), 89 deletions(-)

--
1.7.6



\
 
 \ /
  Last update: 2011-08-05 02:39    [W:0.056 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site