From: Vladimir Davydov Date: Sat, 13 Dec 2014 00:55:15 +0000 (-0800) Subject: memcg: turn memcg_kmem_skip_account into a bit field X-Git-Tag: omap-for-v3.19/fixes-rc1~100^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f185c290edec576a2cccd6670e5b8e02e6f04db;p=pandora-kernel.git memcg: turn memcg_kmem_skip_account into a bit field It isn't supposed to stack, so turn it into a bit-field to save 4 bytes on the task_struct. Also, remove the memcg_stop/resume_kmem_account helpers - it is clearer to set/clear the flag inline. Regarding the overwhelming comment to the helpers, which is removed by this patch too, we already have a compact yet accurate explanation in memcg_schedule_cache_create, no need in yet another one. Signed-off-by: Vladimir Davydov Cc: Johannes Weiner Cc: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed