summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnthony Yznaga <anthony.yznaga@oracle.com>2020-06-02 23:07:29 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2020-06-04 21:42:35 +0300
commit4b44295538b421de2de8b5754472284fe2daa4e9 (patch)
tree78817f473b4d571a80885ba9ae9aabc79fbef474 /tools/perf/scripts/python/exported-sql-viewer.py
parent5688fed649f15a232e75148afb0a28864046f44c (diff)
downloadlinux-4b44295538b421de2de8b5754472284fe2daa4e9.tar.xz
KVM: x86: avoid unnecessary rmap walks when creating/moving slots
On large memory guests it has been observed that creating a memslot for a very large range can take noticeable amount of time. Investigation showed that the time is spent walking the rmaps to update existing sptes to remove write access or set/clear dirty bits to support dirty logging. These rmap walks are unnecessary when creating or moving a memslot. A newly created memslot will not have any existing mappings, and the existing mappings of a moved memslot will have been invalidated and flushed. Any mappings established once the new/moved memslot becomes visible will be set using the properties of the new slot. Signed-off-by: Anthony Yznaga <anthony.yznaga@oracle.com> Message-Id: <1591128450-11977-3-git-send-email-anthony.yznaga@oracle.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions