Re: [PATCH 2/5] mm,hugetlb: Document the reason to lock the folio in the faulting path

From: Oscar Salvador
Date: Tue Jun 17 2025 - 08:12:22 EST


On Tue, Jun 17, 2025 at 02:08:16PM +0200, David Hildenbrand wrote:
> folio lock is a sleeping lock, PTL is a spinlock. :)

Lol yes, overlooked that totally.
And I also saw the comment from mm/rmap.c about lockin order.


--
Oscar Salvador
SUSE Labs