diff options
author | David Matlack <[email protected]> | 2024-06-11 15:05:12 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-06-14 09:25:03 -0700 |
commit | 0089c055b56024edf90e85dc852440b713ce8cb5 (patch) | |
tree | 66d5727ce88f449453f308f7db58d3ab5f4ce9e1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 3d4a5a45ca26f8de9e0a4f384a2fb0967b8566b5 (diff) |
KVM: x86/mmu: Avoid reacquiring RCU if TDP MMU fails to allocate an SP
Avoid needlessly reacquiring the RCU read lock if the TDP MMU fails to
allocate a shadow page during eager page splitting. Opportunistically
drop the local variable ret as well now that it's no longer necessary.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: David Matlack <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions