diff options
| author | Sean Christopherson <[email protected]> | 2020-06-23 12:40:27 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-07-08 16:21:50 -0400 |
| commit | fb58a9c345f645f1774dcf6a36fda169253008ae (patch) | |
| tree | 5cc9719d7359b0e7095d77f4fc6a978f79a6000a /tools/perf/scripts/python | |
| parent | ac101b7cb17d4a5df1ab735420d0ee3593465dcf (diff) | |
KVM: x86/mmu: Optimize MMU page cache lookup for fully direct MMUs
Skip the unsync checks and the write flooding clearing for fully direct
MMUs, which are guaranteed to not have unsync'd or indirect pages (write
flooding detection only applies to indirect pages). For TDP, this
avoids unnecessary memory reads and writes, and for the write flooding
count will also avoid dirtying a cache line (unsync_child_bitmap itself
consumes a cache line, i.e. write_flooding_count is guaranteed to be in
a different cache line than parent_ptes).
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Reviewed-By: Jon Cargille <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions