Thread (146 messages) 146 messages, 8 authors, 1d ago

Re: [PATCH v3 31/40] mm/vma: introduce vma[_flags]_is_persistent()

From: "David Hildenbrand (Arm)" <david@kernel.org>
Date: 2026-10-02 07:03:08
Also in: bpf, fuse-devel, kvm, kvm-riscv, kvmarm, linux-arch, linux-doc, linux-fbdev, linux-fsdevel, linux-mm, linux-perf-users, linux-rdma, linux-s390, linux-scsi, linux-sound, linux-trace-kernel, linux-usb, lkml, selinux, sparclinux

On 10/2/26 08:59, David Hildenbrand (Arm) wrote:
On 9/17/26 18:22, Lorenzo Stoakes (ARM) wrote:
quoted
Introduce vma[_flags]_is_persistent() for the purposes of identifying
mappings that are persistent in the sense that bytes to the mapping stay
there, and bytes read from the mapping are the same unless changed by
actions taken by userland.
That's extremely confusing, sorry. We have to find a better name for that.

Is this really all about user pages (pagecache, anon) that we would find through
the rmap?
It's also about droppable mappings AFAIKs. How many more users will we have for
that function?

If it's "no others" then please don't add a helper function with misleading
names for it and just keep the special "dumpable" check in the new form in
madvise_vma_behavior().

-- 
Cheers,

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