On Tue, Nov 1, 2016 at 10:44 AM, Paolo Bonzini wrote:
>
> Can you do the same for atomic_rcu_read__nocheck (both implementations)?
>
Sure, will send an updated patch.
--
Pranith
On 01/11/2016 15:33, Pranith Kumar wrote:
> We can use __atomic_load_n() saving a store and load from the _val.
>
> Signed-off-by: Pranith Kumar
> ---
> include/qemu/atomic.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/include/qemu/atomic.h b/include/qemu/atomi
We can use __atomic_load_n() saving a store and load from the _val.
Signed-off-by: Pranith Kumar
---
include/qemu/atomic.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/include/qemu/atomic.h b/include/qemu/atomic.h
index 878fa07..6775603 100644
--- a/include/qemu/atomic.