[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions
From: |
Jan Kiszka |
Subject: |
[Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions |
Date: |
Mon, 26 Sep 2011 09:46:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
This increases the overhead of frequently executed helpers.
Signed-off-by: Jan Kiszka <address@hidden>
---
Maybe this should be applied to more hot-path functions, but I haven't
done any thorough analysis yet.
Makefile.target | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 88d2f1f..1cc758d 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -91,7 +91,7 @@ tcg/tcg.o: cpu.h
# HELPER_CFLAGS is used for all the code compiled with static register
# variables
-op_helper.o user-exec.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
+op_helper.o user-exec.o: QEMU_CFLAGS := $(subst
-fstack-protector-all,,$(QEMU_CFLAGS)) $(HELPER_CFLAGS)
# Note: this is a workaround. The real fix is to avoid compiling
# cpu_signal_handler() in user-exec.c.
- [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions,
Jan Kiszka <=
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Mulyadi Santosa, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Laurent Desnogues, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Avi Kivity, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Richard Henderson, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Avi Kivity, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Richard Henderson, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Avi Kivity, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Peter Maydell, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Avi Kivity, 2011/09/26
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Andi Kleen, 2011/09/27