[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YV4EqOpI580SKjnR@t490s>
Date: Wed, 6 Oct 2021 16:18:48 -0400
From: Peter Xu <peterx@...hat.com>
To: Yang Shi <shy828301@...il.com>
Cc: naoya.horiguchi@....com, hughd@...gle.com,
kirill.shutemov@...ux.intel.com, willy@...radead.org,
osalvador@...e.de, akpm@...ux-foundation.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [v3 PATCH 2/5] mm: filemap: check if THP has hwpoisoned subpage
for PMD page fault
On Thu, Sep 30, 2021 at 02:53:08PM -0700, Yang Shi wrote:
> +#ifdef CONFIG_MEMORY_FAILURE
> + /* Compound pages. Stored in first tail page's flags */
> + PG_has_hwpoisoned = PG_mappedtodisk,
> +#endif
Sorry one more comment I missed: would PG_hwpoisoned_subpage better? It's just
that "has_hwpoison" can be directly read as "this page has been hwpoisoned",
which sounds too close to PG_hwpoisoned. No strong opinion either. Thanks,
--
Peter Xu
Powered by blists - more mailing lists