VisionFive2 Linux kernel

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

More than 9999 Commits   33 Branches   55 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/inode.c b/fs/inode.c
index 4230f66b7410..e491e54d2430 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1883,7 +1883,7 @@ void __init inode_init(void)
 					 sizeof(struct inode),
 					 0,
 					 (SLAB_RECLAIM_ACCOUNT|SLAB_PANIC|
-					 SLAB_MEM_SPREAD),
+					 SLAB_MEM_SPREAD|SLAB_ACCOUNT),
 					 init_once);
 
 	/* Hash may have been set up in inode_init_early */