Thread (36 messages) 36 messages, 3 authors, 2025-05-15

Re: [PATCH v2 02/11] mm: convert track_pfn_insert() to pfnmap_setup_cachemode*()

From: David Hildenbrand <hidden>
Date: 2025-05-13 09:06:18
Also in: dri-devel, intel-gfx, linux-mm, lkml

On 12.05.25 17:43, Lorenzo Stoakes wrote:
On Mon, May 12, 2025 at 02:34:15PM +0200, David Hildenbrand wrote:
quoted
... by factoring it out from track_pfn_remap() into
pfnmap_setup_cachemode() and provide pfnmap_setup_cachemode_pfn() as
a replacement for track_pfn_insert().

For PMDs/PUDs, we keep checking a single pfn only. Add some documentation,
and also document why it is valid to not check the whole pfn range.

We'll reuse pfnmap_setup_cachemode() from core MM next.

Acked-by: Ingo Molnar <mingo@kernel.org> # x86 bits
Signed-off-by: David Hildenbrand <redacted>
I've gone through carefully and checked and this looks good to me :)
Thanks a bunch!

-- 
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