Re: [kvm-devel] [PATCH 02/33] KVM: MMU: emulated cmpxchg8b should be atomic on i386

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Carlo Marcelo Arenas Belon
Date: Sunday, January 6, 2008 - 11:57 am

On Sun, Jan 06, 2008 at 04:39:08PM +0200, Avi Kivity wrote:

This one doesn't look like the one in the current tree, and avoids the reuse
of addr by moving the call to get the gpa up instead of renaming the variable
as propossed in :

  http://article.gmane.org/gmane.comp.emulators.kvm.devel/11511

IMHO renaming the parameter variable is probably better in the long run, as it
could result otherwise into scope related bugs like the one from kvm-59

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 16/33] KVM: Move drivers/kvm/* to virt/kvm/, Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 19/33] KVM: Move kvm_vcpu_kick() to x86.c, Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 21/33] KVM: MMU: Coalesce remote tlb flushes, Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 25/33] KVM: Accelerated apic support, Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 27/33] KVM: MMU: Concurrent guest walkers, Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 28/33] KVM: Add kvm_read_guest_atomic(), Avi Kivity, (Sun Jan 6, 7:39 am)
[PATCH 30/33] KVM: MMU: Switch to mmu spinlock, Avi Kivity, (Sun Jan 6, 7:39 am)
Re: [kvm-devel] [PATCH 02/33] KVM: MMU: emulated cmpxchg8b ..., Carlo Marcelo Arenas ..., (Sun Jan 6, 11:57 am)