From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjS7A-0003CW-PO for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:21:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjS73-0008CO-Fp for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:21:38 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:37494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjS73-0008CD-9E for qemu-devel@nongnu.org; Mon, 12 Sep 2016 10:21:33 -0400 Received: by mail-wm0-f51.google.com with SMTP id c131so60548537wmh.0 for ; Mon, 12 Sep 2016 07:21:33 -0700 (PDT) References: <1472935202-3342-1-git-send-email-rth@twiddle.net> <1472935202-3342-8-git-send-email-rth@twiddle.net> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1472935202-3342-8-git-send-email-rth@twiddle.net> Date: Mon, 12 Sep 2016 15:20:30 +0100 Message-ID: <87sht5w66p.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 07/34] HACK: Always enable parallel_cpus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org Richard Henderson writes: > This is really just a placeholder for an actual > command-line switch for mttcg. > --- > translate-all.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/translate-all.c b/translate-all.c > index f97fc1e..d6d879c 100644 > --- a/translate-all.c > +++ b/translate-all.c > @@ -119,7 +119,7 @@ static void *l1_map[V_L1_SIZE]; > > /* code generation context */ > TCGContext tcg_ctx; > -bool parallel_cpus; > +bool parallel_cpus = 1; s/1/true/ but... As mentioned on the previous version we can also skip parallel_cpus for single threaded linux-user code. This will be easier once the async safe work is merged so we can flip the flag and trigger a safe tb_flush() once the linux-user guest does its first clone(). > > /* translation block context */ > #ifdef CONFIG_USER_ONLY -- Alex Bennée