[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <80df0575-6f61-ccad-833a-b4f5b3d42628@huawei.com>
Date: Mon, 21 Feb 2022 21:19:30 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Oscar Salvador <osalvador@...e.de>
CC: Rik van Riel <riel@...riel.com>, <linux-kernel@...r.kernel.org>,
<kernel-team@...com>, <linux-mm@...ck.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>,
Johannes Weiner <hannes@...xchg.org>,
Matthew Wilcox <willy@...radead.org>
Subject: Re: [PATCH v2] mm: clean up hwpoison page cache page in fault path
On 2022/2/21 20:54, Oscar Salvador wrote:
> On Wed, Feb 16, 2022 at 10:13:14AM +0800, Miaohe Lin wrote:
>> IIUC, this could not happen when soft-offlining a pagecache page. They're either
>> invalidated or migrated away and then we set PageHWPoison.
>> I think this may happen on a clean pagecache page when it's isolated. So it's !PageLRU.
>> And identify_page_state treats it as me_unknown because it's non reserved, slab, swapcache
>> and so on ...(see error_states for details). Or am I miss anything?
>
> But the path you are talking about is when we do have a non-recoverable
> error, so memory_failure() path.
> AFAIU, Rik talks about pages with corrected errors, and that is
> soft_offline().
Oh, yes, Rik talks about pages with corrected errors. My mistake. Then I really
want to understand how we got there too. :)
Thanks.
>
Powered by blists - more mailing lists