RE: [PATCH v3 1/1] mm: prevent poison consumption when splitting THP

From: Zhuo, Qiuxu

Date: Tue Oct 14 2025 - 10:51:16 EST


Hi David,

> From: David Hildenbrand <david@xxxxxxxxxx>
> [...]
> > [ Credits to Andrew Zaborowski <andrew.zaborowski@xxxxxxxxx> for his
> > original fix that prevents passing the RMP_USE_SHARED_ZEROPAGE flag
> > to remap_page() in Step[3] if the THP has the has_hwpoisoned flag set,
> > avoiding access to the entire THP for zero-page identification. ]
>
> Two smaller things:
>
> (a) Sub-page is the wrong terminology. We simply call it "page in a THP". So
> consider changing multiple occurrence above.
>
> (b) You should probably trim the credits to something simple like
>
> "Thanks to Andrew Zaborowski for his initial work on fixing
> this issue."
>
> removing the brackets. If you want, you could then link to one of the
> submissions from him. The details how he would have fixed it are not really
> relevant to be had in this patch.
>

Thanks for the guidance.
I'll create a v4 incorporating these suggestions.

> LGTM, thanks
>
> Acked-by: David Hildenbrand <david@xxxxxxxxxx>

Thanks for your review.

- Qiuxu