summaryrefslogtreecommitdiff
path: root/kernel/smpboot.c
diff options
context:
space:
mode:
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>2013-02-05 07:11:09 (GMT)
committerMarcelo Tosatti <mtosatti@redhat.com>2013-02-07 00:28:01 (GMT)
commitcaf6900f2d8aaebe404c976753f6813ccd31d95e (patch)
tree327bd3a7bca9cc02e4f4c157885ddd0340d009ee /kernel/smpboot.c
parent5037878e2223278aa627162aa0bf106dffac19d4 (diff)
downloadlinux-fsl-qoriq-caf6900f2d8aaebe404c976753f6813ccd31d95e.tar.xz
KVM: MMU: lazily drop large spte
Currently, kvm zaps the large spte if write-protected is needed, the later read can fault on that spte. Actually, we can make the large spte readonly instead of making them not present, the page fault caused by read access can be avoided The idea is from Avi: | As I mentioned before, write-protecting a large spte is a good idea, | since it moves some work from protect-time to fault-time, so it reduces | jitter. This removes the need for the return value. Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions