From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLFeY-0005Il-Mq for qemu-devel@nongnu.org; Thu, 07 Jul 2016 16:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLFeT-000699-Qj for qemu-devel@nongnu.org; Thu, 07 Jul 2016 16:12:05 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:34668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLFeT-00068z-Hc for qemu-devel@nongnu.org; Thu, 07 Jul 2016 16:12:01 -0400 Received: by mail-lf0-x243.google.com with SMTP id a10so616921lfb.1 for ; Thu, 07 Jul 2016 13:12:01 -0700 (PDT) References: <1467839703-11733-1-git-send-email-sergey.fedorov@linaro.org> <1467839703-11733-12-git-send-email-sergey.fedorov@linaro.org> From: Sergey Fedorov Message-ID: <577EB78E.3000204@gmail.com> Date: Thu, 7 Jul 2016 23:11:58 +0300 MIME-Version: 1.0 In-Reply-To: <1467839703-11733-12-git-send-email-sergey.fedorov@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 11/11] tcg: Make tb_flush() thread safe List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov , qemu-devel@nongnu.org Cc: MTTCG Devel , =?UTF-8?B?S09OUkFEIEZyw6lkw6lyaWM=?= , Alvise Rigo , "Emilio G. Cota" , =?UTF-8?Q?Alex_Benn=c3=a9e?= , Paolo Bonzini , Richard Henderson , Peter Maydell , Peter Crosthwaite On 07/07/16 00:15, Sergey Fedorov wrote: > From: Sergey Fedorov > > Use async_safe_run_on_cpu() to make tb_flush() thread safe. I've just realized that this allows to remove CPUState::tb_flushed as well. Regards, Sergey