kmemcg: account certain kmem allocations to memcg
[deliverable/linux.git] / fs / logfs / inode.c
index 0fce46d62b9c20491a9fb248f55a39b2273def74..db9cfc5988836f125ef0adf1fce387bc726f53dd 100644 (file)
@@ -409,7 +409,8 @@ const struct super_operations logfs_super_operations = {
 int logfs_init_inode_cache(void)
 {
        logfs_inode_cache = kmem_cache_create("logfs_inode_cache",
-                       sizeof(struct logfs_inode), 0, SLAB_RECLAIM_ACCOUNT,
+                       sizeof(struct logfs_inode), 0,
+                       SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT,
                        logfs_init_once);
        if (!logfs_inode_cache)
                return -ENOMEM;
This page took 0.025666 seconds and 5 git commands to generate.