release 6.15.2 (preliminary)
This commit is contained in:
29
debian/patches/patchset-zen/sauce/0003-ZEN-Disable-stack-conservation-for-GCC.patch
vendored
Normal file
29
debian/patches/patchset-zen/sauce/0003-ZEN-Disable-stack-conservation-for-GCC.patch
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
From 490a2fd553b92e5ad5f151994a9bbf953cc000f7 Mon Sep 17 00:00:00 2001
|
||||
From: Sultan Alsawaf <sultan@kerneltoast.com>
|
||||
Date: Sun, 8 Mar 2020 00:31:35 -0800
|
||||
Subject: 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>
|
||||
---
|
||||
Makefile | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1076,11 +1076,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
|
||||
-ifdef CONFIG_CC_IS_GCC
|
||||
-KBUILD_CFLAGS += -fconserve-stack
|
||||
-endif
|
||||
-
|
||||
# Ensure compilers do not transform certain loops into calls to wcslen()
|
||||
KBUILD_CFLAGS += -fno-builtin-wcslen
|
||||
|
Reference in New Issue
Block a user