2017-11-29 10:18:25

by Johannes Weiner

[permalink] [raw]
Subject: Re: [PATCH] mm, memcg: fix mem_cgroup_swapout() for THPs

On Tue, Nov 28, 2017 at 08:19:41AM -0800, Shakeel Butt wrote:
> The 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.
>
> Fixes: d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() support THP")
> Signed-off-by: Shakeel Butt <[email protected]>
> Cc: [email protected]

Acked-by: Johannes Weiner <[email protected]>

From 1585358769395836202@xxx Wed Nov 29 00:39:00 +0000 2017
X-GM-THRID: 1585327501541771504
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread