KVM: MMU: Fold fix_write_pf() into set_pte_common()
authorAvi Kivity <avi@qumranet.com>
Thu, 31 May 2007 12:08:29 +0000 (15:08 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:43 +0000 (12:05 +0300)
commit97a0a01ea9229e4f3f0f06e0584227e9687159a5
tree94ca92cafa05c7156757557466fa7887dd47a14f
parent63b1ad24d2695db3ec1cc8b10760e130e1a1f04b
KVM: MMU: Fold fix_write_pf() into set_pte_common()

This prevents some work from being performed twice, and, more importantly,
reduces the number of places where we modify shadow ptes.

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