diff options
| author | Junaid Shahid <junaids@google.com> | 2016-12-06 16:46:13 -0800 |
|---|---|---|
| committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-01-09 14:46:08 +0100 |
| commit | 83ef6c8155c0ecb4c1a7e6bfbe425c85f7cb676d (patch) | |
| tree | 8d6dad3e1e0d101c8774b6005a530de141db8822 /tools/perf/scripts/python | |
| parent | kvm: x86: mmu: Fast Page Fault path retries (diff) | |
| download | linux-83ef6c8155c0ecb4c1a7e6bfbe425c85f7cb676d.tar.gz linux-83ef6c8155c0ecb4c1a7e6bfbe425c85f7cb676d.zip | |
kvm: x86: mmu: Refactor accessed/dirty checks in mmu_spte_update/clear
This simplifies mmu_spte_update() a little bit.
The checks for clearing of accessed and dirty bits are refactored into
separate functions, which are used inside both mmu_spte_update() and
mmu_spte_clear_track_bits(), as well as kvm_test_age_rmapp(). The new
helper functions handle both the case when A/D bits are supported in
hardware and the case when they are not.
Signed-off-by: Junaid Shahid <junaids@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
