aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-08-30 17:15:36 -0700
committerSean Christopherson <[email protected]>2024-09-09 20:16:35 -0700
commitd859b16161c81ee929b7b02a85227b8e3250bc97 (patch)
tree39a92f6057f87e96d4fb1f2c960164b7539cea95 /tools/testing/selftests/bpf/progs/test_autoload.c
parent6b3dcabc10911711eba15816d808e2a18f130406 (diff)
KVM: x86/mmu: Detect if unprotect will do anything based on invalid_list
Explicitly query the list of to-be-zapped shadow pages when checking to see if unprotecting a gfn for retry has succeeded, i.e. if KVM should retry the faulting instruction. Add a comment to explain why the list needs to be checked before zapping, which is the primary motivation for this change. No functional change intended. Reviewed-by: Yuan Yao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions