diff options
author | Gleb Natapov <gleb@redhat.com> | 2010-10-17 18:13:42 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 11:23:06 +0200 |
commit | 56028d0861e48f7cc9c573d79f2d8a0a933a2bba (patch) | |
tree | fa42d19f235c585c6514337a26db9641780ac759 /scripts | |
parent | af585b921e5d1e919947c4b1164b59507fe7cd7b (diff) | |
download | kernel_samsung_smdk4412-56028d0861e48f7cc9c573d79f2d8a0a933a2bba.zip kernel_samsung_smdk4412-56028d0861e48f7cc9c573d79f2d8a0a933a2bba.tar.gz kernel_samsung_smdk4412-56028d0861e48f7cc9c573d79f2d8a0a933a2bba.tar.bz2 |
KVM: Retry fault before vmentry
When page is swapped in it is mapped into guest memory only after guest
tries to access it again and generate another fault. To save this fault
we can map it immediately since we know that guest is going to access
the page. Do it only when tdp is enabled for now. Shadow paging case is
more complicated. CR[034] and EFER registers should be switched before
doing mapping and then switched back.
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions