Re: [PATCH v2 4/4] mm/mlock: migrate folios out of CMA when mlocking a range
From: David Hildenbrand (Arm)
Date: Thu Jul 09 2026 - 06:06:57 EST
On 7/7/26 14:59, Wandun Chen wrote:
> From: Wandun Chen <chenwandun@xxxxxxxxxxx>
>
> The region covered by mlock[all] may contain CMA pages. cma_alloc installs
What about ZONE_MOVABLE where memory is supposed to be migratable?
Also, what about drivers that mmap() CMA memory to user space, and
__mm_populate()->populate_vma_page_range() would actually try mlocking them, and
they actually must remain on CMA areas?
--
Cheers,
David