[PATCH V9 3/7] mm/filemap: Extend __filemap_get_folio() to support NUMA memory policies
David Hildenbrand
david at redhat.com
Tue Jul 22 15:21:52 UTC 2025
On 13.07.25 19:43, Shivank Garg wrote:
> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
>
> Extend __filemap_get_folio() to support NUMA memory policies by
> renaming the implementation to __filemap_get_folio_mpol() and adding
> a mempolicy parameter. The original function becomes a static inline
> wrapper that passes NULL for the mempolicy.
>
> This infrastructure will enable future support for NUMA-aware page cache
> allocations in guest_memfd memory backend KVM guests.
>
> Reviewed-by: Pankaj Gupta <pankaj.gupta at amd.com>
> Reviewed-by: Vlastimil Babka <vbabka at suse.cz>
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
> Signed-off-by: Shivank Garg <shivankg at amd.com>
> ---
Reviewed-by: David Hildenbrand <david at redhat.com>
--
Cheers,
David / dhildenb
More information about the Linux-security-module-archive
mailing list