]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/staging/lustre/lustre/llite/super25.c
kmemcg: account certain kmem allocations to memcg
[mirror_ubuntu-artful-kernel.git] / drivers / staging / lustre / lustre / llite / super25.c
index 7a9fafc676935dc8de97f4da5ad9699cc4cfe4ca..86c371ef71eaef079bbf4885841925ead6f6649c 100644 (file)
@@ -106,7 +106,8 @@ static int __init init_lustre_lite(void)
        rc = -ENOMEM;
        ll_inode_cachep = kmem_cache_create("lustre_inode_cache",
                                            sizeof(struct ll_inode_info),
-                                           0, SLAB_HWCACHE_ALIGN, NULL);
+                                           0, SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT,
+                                           NULL);
        if (ll_inode_cachep == NULL)
                goto out_cache;