[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170307165922.GB21425@cmpxchg.org>
Date: Tue, 7 Mar 2017 11:59:22 -0500
From: Johannes Weiner <hannes@...xchg.org>
To: Minchan Kim <minchan@...nel.org>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, shli@...com,
hillf.zj@...baba-inc.com, hughd@...gle.com,
mgorman@...hsingularity.net, mhocko@...e.com, riel@...hat.com,
mm-commits@...r.kernel.org
Subject: Re: + mm-reclaim-madv_free-pages.patch added to -mm tree
On Tue, Mar 07, 2017 at 02:55:51PM +0900, Minchan Kim wrote:
> From d42d296950c3bbce74afddcff307fa18eef305fe Mon Sep 17 00:00:00 2001
> From: Minchan Kim <minchan@...nel.org>
> Date: Tue, 7 Mar 2017 14:48:37 +0900
> Subject: [PATCH] mm: fix lazyfree bug on check in try_to_unmap_one
>
> If a page is swapbacked, it means it should be in swapcache
> in try_to_unmap_one's path.
>
> If a page is !swapbacked, it mean it shouldn't be in swapcache
> in try_to_unmap_one's path.
>
> Check both two cases all at once and if it fails, warn and
> return SWAP_FAIL. Such bug never mean we should shut down
> the kernel.
>
> Suggested-by: Johannes Weiner <hannes@...xchg.org>
> Signed-off-by: Minchan Kim <minchan@...nel.org>
Acked-by: Johannes Weiner <hannes@...xchg.org>
Thanks Minchan
Powered by blists - more mailing lists