From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b09ua-0006s7-TL for qemu-devel@nongnu.org; Tue, 10 May 2016 11:49:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b09uV-0000gt-AU for qemu-devel@nongnu.org; Tue, 10 May 2016 11:49:27 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:36656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b09uV-0000gP-27 for qemu-devel@nongnu.org; Tue, 10 May 2016 11:49:23 -0400 Received: by mail-lf0-x244.google.com with SMTP id y84so1690523lfc.3 for ; Tue, 10 May 2016 08:49:22 -0700 (PDT) References: <1462895205-8411-1-git-send-email-sergey.fedorov@linaro.org> From: Sergey Fedorov Message-ID: <57320300.70704@gmail.com> Date: Tue, 10 May 2016 18:49:20 +0300 MIME-Version: 1.0 In-Reply-To: <1462895205-8411-1-git-send-email-sergey.fedorov@linaro.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/5] cpu-exec: Restructure cpu_exec() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sergey Fedorov , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , Richard Henderson , Paolo Bonzini , Peter Crosthwaite On 10/05/16 18:46, Sergey Fedorov wrote: > From: Sergey Fedorov > > cpu_exec() was a huge function also sprinkled with some preprocessor > directives. It was hard to read and see the main loop crowded by all > this code. Restructure cpu_exec() by moving its conceptual parts into > separate static inline functions. That makes it possible to see the > whole main loop at once, especially its sigsetjmp() handling part. > > This series is based on commit > 40f646483a11 (cpu-exec: Remove relic orphaned comment) > from > git://github.com/rth7680/qemu.git tcg-next > and is available at > git://github.com/sergefdrv/qemu.git cpu_exec-restructure > > Sergey Fedorov (5): > cpu-exec: Move halt handling out of cpu_exec() > cpu-exec: Move exception handling out of cpu_exec() > cpu-exec: Move interrupt handling out of cpu_exec() > cpu-exec: Move TB execution stuff out of cpu_exec() > cpu-exec: Remove unused 'x86_cpu' and 'env' from cpu_exec() > > cpu-exec.c | 395 +++++++++++++++++++++++++++++++++---------------------------- > 1 file changed, 211 insertions(+), 184 deletions(-) > Sorry, +CC. Regards, Sergey