diff options
| author | Ackerley Tng <ackerleytng@google.com> | 2026-09-10 16:55:39 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-22 07:28:28 -0700 |
| commit | 2f7f4e102880706a2cadb46ba77859b5e968768c (patch) | |
| tree | 92d1ed96680904041192d4450a6fe62aa841916e /include/uapi/linux/netdev.h | |
| parent | 2e646bcfcf900cf35d5982e5d8d9bb8dab828380 (diff) | |
KVM: guest_memfd: Pass mapping type filter to invalidation helper
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 <ackerleytng@google.com>
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>
Tested-by: Yan Zhao <yan.y.zhao@intel.com>
Link: https://patch.msgid.link/20260910-gmem-inplace-conversion-v13-13-dd6fbf94f4e1@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include/uapi/linux/netdev.h')
0 files changed, 0 insertions, 0 deletions
