Re: [Qemu-devel] [PATCH v2 07/13] qemu-thread: call cpu_relax() while spinning
On 04/07/2016 10:32 AM, Emilio G. Cota wrote: > do { > -while (atomic_read(>value)); > +while (atomic_read(>value)) { > +cpu_relax(); > +} Please just merge this with the previous patch. r~
[Qemu-devel] [PATCH v2 07/13] qemu-thread: call cpu_relax() while spinning
Signed-off-by: Emilio G. Cota--- include/qemu/thread.h | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/qemu/thread.h b/include/qemu/thread.h index 1aa843b..599965e 100644 --- a/include/qemu/thread.h +++ b/include/qemu/thread.h @@ -2,6 +2,7 @@