[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1289201305-14866-4-git-send-email-david@fromorbit.com>
Date: Mon, 8 Nov 2010 18:28:24 +1100
From: Dave Chinner <david@...morbit.com>
To: viro@...IV.linux.org.uk
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
eric.dumazet@...il.com, paulmck@...ux.vnet.ibm.com
Subject: [PATCH 3/4] fs: Use RCU freeing of inodes via SLAB_DESTROY_BY_RCU
From: Dave Chinner <dchinner@...hat.com>
Change the inode caches to use RCU freed inodes via the SLAB_DESTROY_BY_RCU
method. This is the first step in converting the inode hash lookups to use RCU
methods.
Signed-off-by: Dave Chinner <dchinner@...hat.com>
---
include/linux/slab.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/slab.h b/include/linux/slab.h
index dca23c5..1fea5f1 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -96,6 +96,7 @@
* Set the default flags necessary for inode caches manipulated by the VFS.
*/
#define SLAB_INODE_CACHE (SLAB_MEM_SPREAD | \
+ SLAB_DESTROY_BY_RCU | \
SLAB_RECLAIM_ACCOUNT)
/*
--
1.7.2.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists