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 > --- > include/qemu/coroutine.h | 6 ++++++ > util/qemu-coroutine-lock.c | 36 ++++++++++++++++++++++++++++++++++++ > 2 files changed, 42 insertions(+) Reviewed-by: Stefan Hajnoczi