Merge branch 'splice' of git://brick.kernel.dk/data/git/linux-2.6-block
[firefly-linux-kernel-4.4.55.git] / fs / dnotify.c
index f3b540dd5d11712b5aa7631084ce4f3303ec21b0..f932591df5a43d00af7b2a6c72db3a1de1fdcb3b 100644 (file)
@@ -21,9 +21,9 @@
 #include <linux/spinlock.h>
 #include <linux/slab.h>
 
-int dir_notify_enable = 1;
+int dir_notify_enable __read_mostly = 1;
 
-static kmem_cache_t *dn_cache;
+static kmem_cache_t *dn_cache __read_mostly;
 
 static void redo_inode_mask(struct inode *inode)
 {