Thread (19 messages) flat view 19 messages, 3 authors, 2011-12-19

Re: [PATCH v3 12/14] KVM: Add barriers to allow mmu_notifier_retry to be used locklessly

From: Avi Kivity <hidden>
Date: 2011-12-19 17:21:50
Also in: kvm

On 12/19/2011 07:18 PM, Alexander Graf wrote:
On 12.12.2011, at 23:37, Paul Mackerras wrote:
quoted
This adds an smp_wmb in kvm_mmu_notifier_invalidate_range_end() and an
smp_rmb in mmu_notifier_retry() so that mmu_notifier_retry() will give
the correct answer when called without kvm->mmu_lock being held.
PowerPC Book3S HV KVM wants to use a bitlock per guest page rather than
a single global spinlock in order to improve the scalability of updates
to the guest MMU hashed page table, and so needs this.

Signed-off-by: Paul Mackerras <redacted>
Avi, mind to ack?
Acked-by: Avi Kivity <redacted>

-- 
error compiling committee.c: too many arguments to function
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help