KVM: Avoid useless memory write when possible
authorLuca Tettamanti <kronos.it@gmail.com>
Tue, 19 Jun 2007 20:41:38 +0000 (22:41 +0200)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:48 +0000 (12:05 +0300)
When writing to normal memory and the memory area is unchanged the write
can be safely skipped, avoiding the costly kvm_mmu_pte_write.

Signed-Off-By: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found