Re: [PATCH v8 08/15] hugetlb: Use the has_hwpoisoned flag

Matthew Wilcox <[email protected]> Tue, 4 Aug 2026 17:04:15 +0100
Newsgroups gmane.linux.file-systems,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Mon, Aug 03, 2026 at 11:51:42PM -0700, [email protected] wrote:
> So, we now have two sets keeping track of folio level hugetlb hwpoison
> status: one with PG_has_hwpoison, another with (PGTY_hugetlb + bit23) in the
> .page_type field.  I don't see a better way though.

Yep, we end up marking the folio two different ways.  I don't love it
either, but I haven't come up with anything better.

> Reviewed-by: Jane Chu <[email protected]>
> 
> thanks,
> -jane