|
| From: | Richard Henderson |
| Subject: | Re: [Qemu-devel] [PATCH v2 07/13] qemu-thread: call cpu_relax() while spinning |
| Date: | Fri, 8 Apr 2016 11:39:19 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 |
On 04/07/2016 10:32 AM, Emilio G. Cota wrote:
> do {
> - while (atomic_read(&spin->value));
> + while (atomic_read(&spin->value)) {
> + cpu_relax();
> + }
Please just merge this with the previous patch.
r~
| [Prev in Thread] | Current Thread | [Next in Thread] |