]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/memory_hotplug: make HWPoisoned dirty swapcache pages unmovable
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 23 Aug 2021 23:59:43 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:26 +0000 (09:34 +1000)
commit4d6b69278e0457f16ac7de549b28409ccf6ed048
treecd2054085d1a8b6c8da5d563cb29d5349dbcf8ad
parentdc7657c0f637ee3160a4e57fa162378341ede9c9
mm/memory_hotplug: make HWPoisoned dirty swapcache pages unmovable

HWPoisoned dirty swapcache pages are kept for killing owner processes.  We
should not offline these pages or do_swap_page() would access the offline
pages and lead to bad ending.

Link: https://lkml.kernel.org/r/20210821094246.10149-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Chris Goldsworthy <cgoldswo@codeaurora.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Naoya Horiguchi <naoya.horiguchi@nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/memory_hotplug.c