Thread (24 messages) 24 messages, 5 authors, 2025-08-11

Re: [PATCH V9 3/7] mm/filemap: Extend __filemap_get_folio() to support NUMA memory policies

From: David Hildenbrand <hidden>
Date: 2025-07-22 15:22:00
Also in: kvm, linux-coco, linux-fsdevel, linux-kselftest, linux-mm, lkml

On 13.07.25 19:43, Shivank Garg wrote:
From: "Matthew Wilcox (Oracle)" <willy@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 <redacted>
Reviewed-by: Vlastimil Babka <redacted>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Shivank Garg <redacted>
---
Reviewed-by: David Hildenbrand <redacted>

-- 
Cheers,

David / dhildenb
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help