Skip to content
Permalink
Browse files
ZEN: Disable stack conservation for GCC
There's plenty of room on the stack for a few more inlined bytes here
and there. The measured stack usage at runtime is still safe without
this, and performance is surely improved at a microscopic level, so
remove it.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  • Loading branch information
kerneltoast authored and heftig committed Feb 15, 2021
1 parent a09abe2 commit 456aec2082a997b3bd1e27092eab880fc140119c
Showing 1 changed file with 0 additions and 3 deletions.
@@ -934,9 +934,6 @@ KBUILD_CFLAGS += -fno-strict-overflow
# Make sure -fstack-check isn't enabled (like gentoo apparently did)
KBUILD_CFLAGS += -fno-stack-check

# conserve stack if available
KBUILD_CFLAGS += $(call cc-option,-fconserve-stack)

# Prohibit date/time macros, which would make the build non-deterministic
KBUILD_CFLAGS += -Werror=date-time

0 comments on commit 456aec2

Please sign in to comment.