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 _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers