diff options
| author | Lai Jiangshan <laijs@linux.alibaba.com> | 2021-09-18 08:56:32 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-30 04:27:09 -0400 |
| commit | c3e5e415bc1e6c36315edf616c3329816e9f7393 (patch) | |
| tree | 80a6792fed9053a3dd8bd9b24e2dc72169c5ccea /scripts/gdb/linux/tasks.py | |
| parent | 06152b2dec3e264e9c8d2150d075d50faead8110 (diff) | |
KVM: X86: Change kvm_sync_page() to return true when remote flush is needed
Currently kvm_sync_page() returns true when there is any present spte.
But the return value is ignored in the callers.
Changing kvm_sync_page() to return true when remote flush is needed and
changing mmu->sync_page() not to directly flush can combine and reduce
remote flush requests.
Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210918005636.3675-7-jiangshanlai@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
