Received: from eggs.gnu.org ([2001:4830:134:3::10]:57896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnUBY-0004vs-56 for qemu-devel@nongnu.org; Fri, 23 Sep 2016 13:22:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnUBS-0005LJ-2O for qemu-devel@nongnu.org; Fri, 23 Sep 2016 13:22:51 -0400 Received: from mail-it0-x244.google.com ([2607:f8b0:4001:c0b::244]:36158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnUBR-0005L9-TU for qemu-devel@nongnu.org; Fri, 23 Sep 2016 13:22:45 -0400 Received: by mail-it0-x244.google.com with SMTP id n143so1404861ita.3 for ; Fri, 23 Sep 2016 10:22:45 -0700 (PDT) Sender: Richard Henderson References: <1474615909-17069-1-git-send-email-pbonzini@redhat.com> <1474615909-17069-13-git-send-email-pbonzini@redhat.com> From: Richard Henderson Message-ID: Date: Fri, 23 Sep 2016 10:22:43 -0700 MIME-Version: 1.0 In-Reply-To: <1474615909-17069-13-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 12/16] cpus-common: remove redundant call to exclusive_idle() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: serge.fdrv@gmail.com, cota@braap.org, alex.bennee@linaro.org, sergey.fedorov@linaro.org On 09/23/2016 12:31 AM, Paolo Bonzini wrote: > No need to call exclusive_idle() from cpu_exec_end since it is done > immediately afterwards in cpu_exec_start. Any exclusive section could > run as soon as cpu_exec_end leaves, because cpu->running is false and the > mutex is not taken, so the call does not add any protection either. > > Signed-off-by: Paolo Bonzini > --- > cpus-common.c | 1 - > docs/tcg-exclusive.promela | 1 - > 2 files changed, 2 deletions(-) Reviewed-by: Richard Henderson r~