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 <minc...@kernel.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 <han...@cmpxchg.org> > Signed-off-by: Minchan Kim <minc...@kernel.org>
Acked-by: Johannes Weiner <han...@cmpxchg.org> Thanks Minchan