diff options
author | Sean Christopherson <[email protected]> | 2018-12-20 12:25:18 -0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-12-21 12:44:28 +0100 |
commit | 2bcbd406715dca256912b9c5ae449c7968f15705 (patch) | |
tree | b865cc6b770212b1d6b094c55b00d1bae6d0d92d /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 453eafbe65f72c04fc7c74c5c95c04e78e907dfb (diff) |
Revert "compiler-gcc: disable -ftracer for __noclone functions"
The -ftracer optimization was disabled in __noclone as a workaround to
GCC duplicating a blob of inline assembly that happened to define a
global variable. It has been pointed out that no amount of workarounds
can guarantee the compiler won't duplicate inline assembly[1], and that
disabling the -ftracer optimization has several unintended and nasty
side effects[2][3].
Now that the offending KVM code which required the workaround has
been properly fixed and no longer uses __noclone, remove the -ftracer
optimization tweak from __noclone.
[1] https://lore.kernel.org/lkml/[email protected]/T/#u
[2] https://lore.kernel.org/lkml/20181218140105.ajuiglkpvstt3qxs@treble/T/#u
[3] https://patchwork.kernel.org/patch/8707981/#21817015
This reverts commit 95272c29378ee7dc15f43fa2758cb28a5913a06d.
Suggested-by: Andi Kleen <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Cc: Martin Jambor <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Miroslav Benes <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions