Re: [PATCH v12 13/45] KVM: guest_memfd: Pass mapping type filter to invalidation helper

From
David Hildenbrand (Arm) <david@kernel.org>
Date
2026-09-09 16:04:59
Also in
kvm, linux-coco, linux-doc, linux-kselftest, linux-mm, lkml
Reply to
Ackerley Tng via B4 Relay, 2026-08-31
On 8/31/26 02:25, Ackerley Tng via B4 Relay wrote:
From: Ackerley Tng <redacted>

Accept the mapping type filter as a parameter in the invalidation start
helper instead of querying it internally. This allows callers to specify
which mappings (shared, private, or both) should be invalidated.

In the next patch, the conversion process will use this new parameter to
invalidate mappings only when they're different from the target state of
the conversion, i.e. invalidate only shared mappings on a shared to private
conversion and not both.

No functional change intended.

Signed-off-by: Ackerley Tng <redacted>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David
Thread (85 messages) 85 messages, 8 authors, last reply 2026-09-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help