Skip to content

Guard page for code_gen_buffer

Richard Henderson qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcg: Emit prologue to the beginning of code_gen_buffertcg/tcg.c translate-all.c+29 -250 replies
2/2tcg: Allocate a guard page after code_gen_buffertranslate-all.c+117 -900 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Guard page for code_gen_buffer

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(-)
Signature · 1 line
2.4.3