From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fziLw-0007pk-MT for qemu-devel@nongnu.org; Tue, 11 Sep 2018 09:05:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fziEP-0002yD-Co for qemu-devel@nongnu.org; Tue, 11 Sep 2018 08:57:28 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:41983) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fziEP-0002xp-4T for qemu-devel@nongnu.org; Tue, 11 Sep 2018 08:57:25 -0400 Received: by mail-pl1-x642.google.com with SMTP id b12-v6so11293767plr.8 for ; Tue, 11 Sep 2018 05:57:25 -0700 (PDT) Sender: Richard Henderson References: <20180910232752.31565-1-cota@braap.org> <20180910232752.31565-12-cota@braap.org> From: Richard Henderson Message-ID: <625a1e52-e2e3-51dd-be03-bae4dcf831b4@twiddle.net> Date: Tue, 11 Sep 2018 05:57:21 -0700 MIME-Version: 1.0 In-Reply-To: <20180910232752.31565-12-cota@braap.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 11/12] target/i386/translate: use thread-local storage in !user-mode List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , qemu-devel@nongnu.org Cc: Paolo Bonzini , Peter Crosthwaite , Eduardo Habkost , =?UTF-8?Q?Alex_Benn=c3=a9e?= , Murilo Opsfelder Araujo On 09/10/2018 04:27 PM, Emilio G. Cota wrote: > Needed for MTTCG. > > Note that in user-mode, code generation is serialized by > mmap_lock, so making these variables per-thread would > just waste TLS space. > > Acked-by: Alex Bennée > Signed-off-by: Emilio G. Cota > --- This is ok for now, but we really really should move these into DisasContext. Reviewed-by: Richard Henderson r~