]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Assume that writes smaller than 4 bytes are to non-pagetable pages
authorAvi Kivity <avi@qumranet.com>
Mon, 30 Apr 2007 11:47:02 +0000 (14:47 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:38 +0000 (12:05 +0300)
commitcf961943baa2ccdc38c0924bf52ddacfce9efa97
tree9de2c9a4530170d77609af5236d8eaf546fd1ec9
parentbb350d69a88af6487648919d46a14dc278a65c74
KVM: Assume that writes smaller than 4 bytes are to non-pagetable pages

This allows us to remove write protection earlier than otherwise.  Should
some mad OS choose to use byte writes to update pagetables, it will suffer
a performance hit, but still work correctly.

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