[PATCH V9 2/7] mm/filemap: Add NUMA mempolicy support to filemap_alloc_folio()
David Hildenbrand
david at redhat.com
Tue Jul 22 15:20:22 UTC 2025
On 13.07.25 19:43, Shivank Garg wrote:
> From: "Matthew Wilcox (Oracle)" <willy at infradead.org>
>
> Add a mempolicy parameter to filemap_alloc_folio() to enable NUMA-aware
> page cache allocations. This will be used by upcoming changes to
> support NUMA policies in guest-memfd, where guest_memory need to be
> allocated NUMA policy specified by VMM.
>
> All existing users pass NULL maintaining current behavior.
>
> 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