Re: [PATCH v3] mm/memory-failure: set PG_hwpoison of a non-hugetlb page under hugetlb_lock

From: Mani Tofigh

Date: Mon Nov 23 2026 - 22:17:54 EST




On 11/23/26 10:11 PM, Miaohe Lin wrote:
Yes, sounds good to me. And some comments might be helpful. But do we really need that rwsem?
Could we avoid using that specified rwsem?
Yeah let's keep that, otherwise HVO can copy the first
vmemmap page before the flag is cleared and the copy
would still have it. + Will add comments too!

Mani