KVM: MMU: Avoid unnecessary remote tlb flushes when guest updates a pte
authorAvi Kivity <avi@qumranet.com>
Wed, 21 Nov 2007 00:06:21 +0000 (02:06 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:10 +0000 (17:53 +0200)
commit79539cec0c3c38d35a1e3e5310d2c562ae6e82b8
tree7bcb93c2a3a26a1541a77f108915e43479dc3ebd
parent0f74a24c59b814c1c8085251cbea48d339f0c7c6
KVM: MMU: Avoid unnecessary remote tlb flushes when guest updates a pte

If all we're doing is increasing permissions on a pte (typical for demand
paging), then there's not need to flush remote tlbs.  Worst case they'll
get a spurious page fault.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/mmu.c