kmemcg: account certain kmem allocations to memcg
[deliverable/linux.git] / fs / afs / super.c
index 1fb4a5129f7dfc0007dfa52f287ca03766feeff0..81afefe7d8a6ec4602f95e7db4c2f8fc0dc12e48 100644 (file)
@@ -91,7 +91,7 @@ int __init afs_fs_init(void)
        afs_inode_cachep = kmem_cache_create("afs_inode_cache",
                                             sizeof(struct afs_vnode),
                                             0,
-                                            SLAB_HWCACHE_ALIGN,
+                                            SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT,
                                             afs_i_init_once);
        if (!afs_inode_cachep) {
                printk(KERN_NOTICE "kAFS: Failed to allocate inode cache\n");
This page took 0.031808 seconds and 5 git commands to generate.