From 91e1c220b7fe3e841f82f69224928828ab71e09d Mon Sep 17 00:00:00 2001 From: Christoph Lameter Date: Wed, 26 Sep 2007 10:46:43 -0700 Subject: [PATCH] vcompound_dentry Allow virtual fallback for dentries Signed-off-by: Christoph Lameter --- fs/dcache.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c index 678d39d..fa91aac 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -2118,7 +2118,8 @@ static void __init dcache_init(unsigned long mempages) * of the dcache. */ dentry_cache = KMEM_CACHE(dentry, - SLAB_RECLAIM_ACCOUNT|SLAB_PANIC|SLAB_MEM_SPREAD); + SLAB_RECLAIM_ACCOUNT|SLAB_PANIC|SLAB_MEM_SPREAD| + SLAB_VFALLBACK); register_shrinker(&dcache_shrinker); -- 1.5.4.1