[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper fun
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions |
Date: |
Mon, 26 Sep 2011 12:33:38 +0100 |
On 26 September 2011 11:51, Jan Kiszka <address@hidden> wrote:
> This increases the overhead of frequently executed helpers. We need to
> move rule past QEMU_CFLAGS assignment to ensure that the required simple
> assignment picks up all bits. The signal workaround is moved just for
> the sake of consistency.
> +# NOTE: Must be after the last QEMU_CFLAGS assignment
> +op_helper.o user-exec.o: QEMU_CFLAGS := $(subst
> -fstack-protector-all,,$(QEMU_CFLAGS)) $(HELPER_CFLAGS)
Why also user-exec.o ? Why not the other source files with helpers in?
This doesn't seem very consistent. Maybe the right answer is to have
some of the offending helper functions inline instead? (Or to not
have -fstack-protector-all globally?)
-- PMM
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, (continued)
- 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
- Re: [Qemu-devel] [PATCH] tcg: Remove stack protection from helper functions, Peter Maydell, 2011/09/27
[Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Jan Kiszka, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions,
Peter Maydell <=
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Jan Kiszka, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Peter Maydell, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Blue Swirl, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Jan Kiszka, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Blue Swirl, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Jan Kiszka, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Blue Swirl, 2011/09/26
- Re: [Qemu-devel] [PATCH v2] tcg: Remove stack protection from helper functions, Peter Maydell, 2011/09/26