VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Vladimir Davydov <vdavydov@virtuozzo.com> 2016-01-14 15:18:21 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2016-01-14 16:00:49 -0800 commit: 5d097056c9a017a3b720849efb5432f37acabbac parent: 37f08dda29dac8a595999b8d3eaa9bf0f763dd9d
Commit Summary:
kmemcg: account certain kmem allocations to memcg
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 8836df5f1e11..2a6713b6b9f4 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -132,7 +132,7 @@ static int __init init_inodecache(void)
 	affs_inode_cachep = kmem_cache_create("affs_inode_cache",
 					     sizeof(struct affs_inode_info),
 					     0, (SLAB_RECLAIM_ACCOUNT|
-						SLAB_MEM_SPREAD),
+						SLAB_MEM_SPREAD|SLAB_ACCOUNT),
 					     init_once);
 	if (affs_inode_cachep == NULL)
 		return -ENOMEM;