summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-10-16 20:28:43 +0300
committerSean Christopherson <seanjc@google.com>2025-10-20 16:30:39 +0300
commit392dd9d9488a8a81c2d58f9f4eee99c5b7b8e1c7 (patch)
tree21d92a5de450fe3a34b79cd483de69aa1500c8e2 /scripts/patch-kernel
parent497b1dfbcacf4e45c9cd3f594959918ca0e4536b (diff)
downloadlinux-392dd9d9488a8a81c2d58f9f4eee99c5b7b8e1c7.tar.xz
KVM: guest_memfd: Add macro to iterate over gmem_files for a mapping/inode
Add a kvm_gmem_for_each_file() to make it more obvious that KVM is iterating over guest_memfd _files_, not guest_memfd instances, as could be assumed given the name "gmem_list". No functional change intended. Reviewed-by: Ackerley Tng <ackerleytng@google.com> Tested-by: Ackerley Tng <ackerleytng@google.com> Reviewed-by: Shivank Garg <shivankg@amd.com> Tested-by: Shivank Garg <shivankg@amd.com> Link: https://lore.kernel.org/r/20251016172853.52451-3-seanjc@google.com [sean: drop .clang-format change] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions