[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5d8ea8a7-c35d-85ae-273a-2807af9517b6@huawei.com>
Date: Thu, 13 Apr 2023 17:30:25 +0800
From: Kefeng Wang <wangkefeng.wang@...wei.com>
To: Longlong Xia <xialonglong1@...wei.com>,
<akpm@...ux-foundation.org>, <naoya.horiguchi@....com>
CC: <linmiaohe@...wei.com>, <sunnanyong@...wei.com>,
<linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>
Subject: Re: [PATCH 2/2] mm: ksm: Support hwpoison for ksm page
On 2023/3/30 15:45, Longlong Xia wrote:
> hwpoison_user_mappings() is updated to support ksm pages, and add
> collect_procs_ksm() to collect processes when the error hit an ksm
> page. The difference from collect_procs_anon() is that it also needs
> to traverse the rmap-item list on the stable node of the ksm page.
> At the same time, add_to_kill_ksm() is added to handle ksm pages. And
> task_in_to_kill_list() is added to avoid duplicate addition of tsk to
> the to_kill list. This is because when scanning the list, if the pages
> that make up the ksm page all come from the same process, they may be
> added repeatedly.
>
Reviewed-by: Kefeng Wang <wangkefeng.wang@...wei.com>
Powered by blists - more mailing lists