]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Unify kvm_mmu_pre_write() and kvm_mmu_post_write()
authorAvi Kivity <avi@qumranet.com>
Tue, 1 May 2007 11:16:52 +0000 (14:16 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:38 +0000 (12:05 +0300)
commit09072daf37abbfe8e2d5018dd913f229c76190f7
treedbccbe493a9412cb89bd48b7c0c8ec21f70cf091
parent621358455ae043ab39bc3481f13b101bd6016c8d
KVM: Unify kvm_mmu_pre_write() and kvm_mmu_post_write()

Instead of calling two functions and repeating expensive checks, call one
function and provide it with before/after information.

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