qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/4] pseries: Remove unnecessary locking from PA


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 4/4] pseries: Remove unnecessary locking from PAPR hash table hcalls
Date: Mon, 24 Sep 2012 15:57:30 +0200

On 21.09.2012, at 05:42, David Gibson wrote:

> In the paravirtualized environment provided by PAPR, there is a standard
> locking scheme so that hypercalls updating the hash page table from
> different guest threads don't corrupt the haah table state.  We implement
> this HVLOCK bit in out page table hypercalls.  However, it is not necessary
> in our case, since the hypercalls all run in the qemu environment under the
> big qemu lock.
> 
> Therefore, this patch removes the locking code.  This has the additional
> advantage of freeing up a hash PTE bit which will be useful for migration
> support.
> 
> Signed-off-by: David Gibson <address@hidden>

Thanks, applied to ppc-next.

If we ever get around to implement multi-threaded TCG, we know where to find 
the code :)


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]