qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: sw@weilnetz.de, peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH 0/2] Guard page for code_gen_buffer
Date: Sat, 19 Sep 2015 14:10:31 -0700	[thread overview]
Message-ID: <1442697033-22409-1-git-send-email-rth@twiddle.net> (raw)

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

             reply	other threads:[~2015-09-19 21:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-19 21:10 Richard Henderson [this message]
2015-09-19 21:10 ` [Qemu-devel] [PATCH 1/2] tcg: Emit prologue to the beginning of code_gen_buffer Richard Henderson
2015-09-19 21:10 ` [Qemu-devel] [PATCH 2/2] tcg: Allocate a guard page after code_gen_buffer Richard Henderson
2015-09-20  5:16 ` [Qemu-devel] [PATCH 0/2] Guard page for code_gen_buffer Stefan Weil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442697033-22409-1-git-send-email-rth@twiddle.net \
    --to=rth@twiddle.net \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).