[PATCH 0/4] Per-superblock dcache limitation

From: Glauber Costa
Date: Fri Jul 29 2011 - 09:45:49 EST


Hello,

Now that we've got per-sb dcache lru lists, I am proposing
through theses patches that each of those be size-limited.
The main use case I am targetting is containers, where we want
a container not to use more than a certain specified amount
of non-shrikable kernel memory.

Comments welcome

Glauber Costa (4):
Keep nr_dentry per super block
limit nr_dentries per superblock
dcache set size
parse options in the vfs level

fs/dcache.c | 75 +++++++++++++++++++++++++++++++---------
fs/namespace.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++
fs/super.c | 3 ++
include/linux/dcache.h | 1 +
include/linux/fs.h | 3 ++
5 files changed, 155 insertions(+), 16 deletions(-)

--
1.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/