[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 13/17] coroutine-lock: introduce qemu_co_mutex_l
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 13/17] coroutine-lock: introduce qemu_co_mutex_lock_unlock |
Date: |
Thu, 4 May 2017 15:12:34 +0100 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Thu, Apr 20, 2017 at 02:00:54PM +0200, Paolo Bonzini wrote:
> This primitive lets you lock/unlock a CoMutex, guaranteeing neither
> blocking nor cacheline bouncing if there is no qemu_co_mutex_lock
> critical section.
"Guaranteeing neither X nor Y" means "does not guarantee X or Y". Did
you mean "Guarantees not X and not Y"?
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> include/qemu/coroutine.h | 6 ++++++
> util/qemu-coroutine-lock.c | 36 ++++++++++++++++++++++++++++++++++++
> 2 files changed, 42 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature