[kvm-devel] [PATCH 2/2] kvm: avoid useless memory write when possible

2007-06-19 Thread Luca Tettamanti
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 <[EMAIL PROTECTED]> --- Tested with Fedora7, Solaris10 and WinXP on a 32 bit host with Intel CPU. drivers/kvm/kvm_main.c |6

[kvm-devel] [PATCH 2/2] kvm: avoid useless memory write when possible

2007-06-17 Thread Luca Tettamanti
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 <[EMAIL PROTECTED]> --- drivers/kvm/kvm_main.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drive