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 Dec 15, 2020
1 parent 228e792 commit b81ab9b618d694217a54b5d2de70c7f37d3f3e07
Showing 1 changed file with 0 additions and 3 deletions.
@@ -933,9 +933,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 b81ab9b

Please sign in to comment.