From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdPP5-0003p0-Rd for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:10:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdPP2-0001Dv-Mi for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:10:39 -0400 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:34961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdPP2-0001DT-Fk for qemu-devel@nongnu.org; Sat, 19 Sep 2015 17:10:36 -0400 Received: by pacfv12 with SMTP id fv12so81959201pac.2 for ; Sat, 19 Sep 2015 14:10:35 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Sat, 19 Sep 2015 14:10:31 -0700 Message-Id: <1442697033-22409-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/2] Guard page for code_gen_buffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: sw@weilnetz.de, peter.maydell@linaro.org I started down the path toward using this guard page to trigger a restart of the translation for a given TB, but got hung up on the win32 implementation of the "signal handler". Nevertheless, just having the page without doing anything more than crashing if it gets touched might still be useful. Note that the new win32 path in the second patch is untested. I thought I had a win7 vm on this laptop, but apparently not. If someone else wants to do that this weekend, awesome. Otherwise I'll try to get to it when I'm home on Monday. Thoughts? r~ Richard Henderson (2): tcg: Emit prologue to the beginning of code_gen_buffer tcg: Allocate a guard page after code_gen_buffer tcg/tcg.c | 25 ++++-- translate-all.c | 232 ++++++++++++++++++++++++++++++-------------------------- 2 files changed, 144 insertions(+), 113 deletions(-) -- 2.4.3