diff options
author | 2024-02-02 16:23:42 -0800 | |
---|---|---|
committer | 2024-02-22 16:19:06 -0800 | |
commit | dfeef3d3f310ee464493e848383c4e9fe879089a (patch) | |
tree | 89a65be90a20733dc26f25911175fa3d1191cb43 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: Drop dedicated logic for direct MMUs in reexecute_instruction() (diff) | |
download | linux-rng-dfeef3d3f310ee464493e848383c4e9fe879089a.tar.xz linux-rng-dfeef3d3f310ee464493e848383c4e9fe879089a.zip |
KVM: x86: Drop superfluous check on direct MMU vs. WRITE_PF_TO_SP flag
Remove reexecute_instruction()'s final check on the MMU being direct, as
EMULTYPE_WRITE_PF_TO_SP is only ever set if the MMU is indirect, i.e. is a
shadow MMU. Prior to commit 93c05d3ef252 ("KVM: x86: improve
reexecute_instruction"), the flag simply didn't exist (and KVM actually
returned "true" unconditionally for both types of MMUs). I.e. the
explicit check for a direct MMU is simply leftover artifact from old code.
Link: https://lore.kernel.org/r/20240203002343.383056-4-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions