Re: [PATCH] mm: Fix the pgtable leak
From: Greg KH
Date: Mon Feb 18 2019 - 08:33:43 EST
On Wed, Feb 13, 2019 at 08:29:00PM +0900, Minchan Kim wrote:
> [1] was backported to v4.9 stable tree but it introduces pgtable
> memory leak because with fault retrial, preallocated pagetable
> could be leaked in second iteration.
> To fix the problem, this patch backport [2].
>
> [1] 5cf3e5ff95876, mm, memcg: fix reclaim deadlock with writeback
> [2] b0b9b3df27d10, mm: stop leaking PageTables
>
> Fixes: 5cf3e5ff95876 ("mm, memcg: fix reclaim deadlock with writeback")
> Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
> Cc: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> Cc: Michal Hocko <mhocko@xxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Hugh Dickins <hughd@xxxxxxxxxx>
> Cc: Liu Bo <bo.liu@xxxxxxxxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> [4.9]
> Signed-off-by: Minchan Kim <minchan@xxxxxxxxxx>
> ---
> mm/memory.c | 21 +++++++++++++++------
> 1 file changed, 15 insertions(+), 6 deletions(-)
I fixed up the changelog text to be correct, and now queued this up,
thanks.
greg k-h