diff options
author | 2023-02-16 23:41:10 +0800 | |
---|---|---|
committer | 2023-03-16 12:49:53 -0700 | |
commit | 8ef228c20cae89c701c1ef7b8b8a84d6925b3575 (patch) | |
tree | 840b8bc70d2bd8ebefc2f16721213fce8ab7114b /tools/perf/scripts/python/stackcollapse.py | |
parent | KVM: x86/mmu: Check mmu->sync_page pointer in kvm_sync_page_check() (diff) | |
download | wireguard-linux-8ef228c20cae89c701c1ef7b8b8a84d6925b3575.tar.xz wireguard-linux-8ef228c20cae89c701c1ef7b8b8a84d6925b3575.zip |
KVM: x86/mmu: Set mmu->sync_page as NULL for direct paging
mmu->sync_page for direct paging is never called.
And both mmu->sync_page and mm->invlpg only make sense in shadow paging.
Setting mmu->sync_page as NULL for direct paging makes it consistent
with mm->invlpg which is set NULL for the case.
Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com>
Link: https://lore.kernel.org/r/20230216154115.710033-5-jiangshanlai@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions