|
@@ -50,6 +50,7 @@
|
|
|
|
|
|
#define VERSION "0.409"
|
|
|
|
|
|
+#include <linux/cache.h>
|
|
|
#include <linux/uaccess.h>
|
|
|
#include <linux/bitops.h>
|
|
|
#include <linux/types.h>
|
|
@@ -191,8 +192,8 @@ static size_t tnode_free_size;
|
|
|
*/
|
|
|
static const int sync_pages = 128;
|
|
|
|
|
|
-static struct kmem_cache *fn_alias_kmem __read_mostly;
|
|
|
-static struct kmem_cache *trie_leaf_kmem __read_mostly;
|
|
|
+static struct kmem_cache *fn_alias_kmem __ro_after_init;
|
|
|
+static struct kmem_cache *trie_leaf_kmem __ro_after_init;
|
|
|
|
|
|
static inline struct tnode *tn_info(struct key_vector *kv)
|
|
|
{
|