]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64ca62a5605e769b1e98d7985f6a83911976aad0
treeea0d54e333f133a6e96a56356c5e516fc79e5580
parent42716d2184e2a5506f0db4947a0d9e842790d586
KVM: Avoid useless memory write when possible

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>
drivers/kvm/kvm_main.c