summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-09-10 16:55:28 -0700
committerSean Christopherson <seanjc@google.com>2026-09-22 07:28:20 -0700
commitfa7b8b1bb5d068ed737e64bcf6836922a70983d5 (patch)
tree68d96eac8dbe8df5c054f5835817f5701a0a7e93 /tools/perf/scripts/python
parent54623a16bbdca9f273ce5658854e0b0d1637bc4d (diff)
KVM: guest_memfd: Use kvm_mem_is_private() when populating guest_memfd memory
Use kvm_mem_is_private() when populating guest_memfd instead of using an open coded equivalent. In addition to simplifying the populate code *now*, this avoids the need to provide a range-based gmem lookup API in the future as well. No functional change intended. Suggested-by: Xiaoyao Li <xiaoyao.li@intel.com> Signed-off-by: Ackerley Tng <ackerleytng@google.com> Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com> Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com> Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev> 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-2-dd6fbf94f4e1@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions