]> err.no Git - linux-2.6/commit
KVM: MMU: Selectively set PageDirty when releasing guest memory
authorIzik Eidus <izike@localhost.localdomain>
Tue, 20 Nov 2007 09:49:33 +0000 (11:49 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:09 +0000 (17:53 +0200)
commitb4231d61807cac8d9d257eb6979c1685fa9a171f
tree36b2064c0df4a2b2e11c5d9a2221c097bb0c7be9
parent2065b3727ecdb64450597d70f7e13af00b85dbd8
KVM: MMU: Selectively set PageDirty when releasing guest memory

Improve dirty bit setting for pages that kvm release, until now every page
that we released we marked dirty, from now only pages that have potential
to get dirty we mark dirty.

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