summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorShakeel Butt <shakeelb@google.com>2017-11-29 16:11:15 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-05 11:26:29 +0100
commitd983b6251c5535b5c5eb02ce48bf8eeb7417ef65 (patch)
tree4b074679f028959ac664171ebcb2570ff03c4eb7 /fs/fat
parent13167cf417ddf105d2822eebe775547ed35d1a08 (diff)
mm, memcg: fix mem_cgroup_swapout() for THPs
commit d08afa149acfd00871484ada6dabc3880524cd1c upstream. Commit d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() support THP") changed mem_cgroup_swapout() to support transparent huge page (THP). However the patch missed one location which should be changed for correctly handling THPs. The resulting bug will cause the memory cgroups whose THPs were swapped out to become zombies on deletion. Link: http://lkml.kernel.org/r/20171128161941.20931-1-shakeelb@google.com Fixes: d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() support THP") Signed-off-by: Shakeel Butt <shakeelb@google.com> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Huang Ying <ying.huang@intel.com> Cc: Vladimir Davydov <vdavydov.dev@gmail.com> Cc: Greg Thelen <gthelen@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions