aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorYury Norov <[email protected]>2025-08-11 20:30:39 +0000
committerSean Christopherson <[email protected]>2025-08-18 21:31:27 +0000
commit923fcb3dbc0246fc5207093c0049af4c56f20e41 (patch)
treebff388c941b09db18e82005d68c2713a790ac924 /scripts/extract-fwblobs
parentKVM: x86: use array_index_nospec with indices that come from guest (diff)
downloadkernel-923fcb3dbc0246fc5207093c0049af4c56f20e41.tar.gz
kernel-923fcb3dbc0246fc5207093c0049af4c56f20e41.zip
KVM: SEV: don't check have_run_cpus in sev_writeback_caches()
Drop KVM's check on an empty cpumask when flushing caches when memory is being reclaimed from an SEV VM, as smp_call_function_many_cond() naturally (and correctly) handles an empty cpumask. This avoids an extra O(n) lookup in the common case where at least one pCPU has enterred the guest, which could be noticeable in some setups, e.g. if a small VM is pinned to the last few pCPUs in the system. Fixes: 6f38f8c57464 ("KVM: SVM: Flush cache only on CPUs running SEV guest") Signed-off-by: Yury Norov (NVIDIA) <[email protected]> [sean: rewrite changelog to capture performance angle] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions