kmemcg: account certain kmem allocations to memcg
[deliverable/linux.git] / fs / cifs / cifsfs.c
index b7fcb3151103cefcc02ecaaf042b59e2b2ff9454..c4c1169814b21d15463410ca474ef8a8608c0ed0 100644 (file)
@@ -1092,7 +1092,7 @@ cifs_init_inodecache(void)
        cifs_inode_cachep = kmem_cache_create("cifs_inode_cache",
                                              sizeof(struct cifsInodeInfo),
                                              0, (SLAB_RECLAIM_ACCOUNT|
-                                               SLAB_MEM_SPREAD),
+                                               SLAB_MEM_SPREAD|SLAB_ACCOUNT),
                                              cifs_init_once);
        if (cifs_inode_cachep == NULL)
                return -ENOMEM;
This page took 0.024509 seconds and 5 git commands to generate.