kmemcg: account certain kmem allocations to memcg
[deliverable/linux.git] / net / sunrpc / rpc_pipe.c
index d81186d34558c8c206c65bc5d05f36977734aafd..14f45bf0410c688b25fafedfb6636cfa025ad06c 100644 (file)
@@ -1500,7 +1500,7 @@ int register_rpc_pipefs(void)
        rpc_inode_cachep = kmem_cache_create("rpc_inode_cache",
                                sizeof(struct rpc_inode),
                                0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
-                                               SLAB_MEM_SPREAD),
+                                               SLAB_MEM_SPREAD|SLAB_ACCOUNT),
                                init_once);
        if (!rpc_inode_cachep)
                return -ENOMEM;
This page took 0.026174 seconds and 5 git commands to generate.