diff options
| author | 2026-09-10 16:55:43 -0700 | |
|---|---|---|
| committer | 2026-09-22 07:28:30 -0700 | |
| commit | 856852ef2108fd4e70f29d450487fe15324c647c (patch) | |
| tree | 11f3e5586b41558ad4b76a33b2d4c44f51530c92 /scripts/Makefile.thinlto | |
| parent | KVM: guest_memfd: Call arch make_shared callback for to-shared conversion (diff) | |
KVM: guest_memfd: Return early if range already has requested attributes
Provide a function to check that a range has given attributes.
Optimize setting memory attributes by returning early if all pages in the
requested range already have the requested attributes.
Signed-off-by: Ackerley Tng <ackerleytng@google.com>
Tested-by: Shivank Garg <shivankg@amd.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@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-17-dd6fbf94f4e1@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
