Files
linux-stable-mirror/include/linux
Matthew WilcoxandSean Christopherson 16a542e223 mm/filemap: Extend __filemap_get_folio() to support NUMA memory policies
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@amd.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Shivank Garg <shivankg@amd.com>
Tested-by: Ashish Kalra <ashish.kalra@amd.com>
Link: https://lore.kernel.org/r/20250827175247.83322-5-shivankg@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2025-10-20 06:30:25 -07:00
..
2025-09-24 17:09:47 +02:00
2025-09-24 02:48:05 -07:00
2025-09-23 11:13:22 +02:00
2025-09-23 11:13:22 +02:00
2025-09-23 13:28:20 -04:00
2025-09-19 14:26:16 +02:00
2025-09-25 09:23:47 +02:00
2025-10-01 07:55:42 -05:00
2025-10-03 12:13:12 -05:00
2025-10-03 10:24:14 -07:00
2025-09-19 17:19:45 -07:00
2025-10-01 07:24:55 -04:00