diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-04-06 17:05:32 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-04-06 17:05:32 +0200 |
commit | 684f5ef56790771b425c7007c9dfcfbd8ea1a300 (patch) | |
tree | 118298a92be197f4a59d03cf2a5b447cbe9b9354 /SOURCES/tkg.patch | |
parent | c0c9b770e4f24e17886587762c42194b6e524720 (diff) | |
download | kernel-fsync-684f5ef56790771b425c7007c9dfcfbd8ea1a300.tar.gz kernel-fsync-684f5ef56790771b425c7007c9dfcfbd8ea1a300.zip |
kernel 6.8.2
Diffstat (limited to 'SOURCES/tkg.patch')
-rw-r--r-- | SOURCES/tkg.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/SOURCES/tkg.patch b/SOURCES/tkg.patch index ab9f76f..aeffc95 100644 --- a/SOURCES/tkg.patch +++ b/SOURCES/tkg.patch @@ -613,7 +613,7 @@ index 5f1ae07d724b88..97cda629c9e909 100644 #else /* CONFIG_HUGETLB_PAGE */ /* If huge pages are not used, group by MAX_ORDER_NR_PAGES */ --#define pageblock_order MAX_ORDER +-#define pageblock_order MAX_PAGE_ORDER +#define pageblock_order PAGE_ALLOC_COSTLY_ORDER #endif /* CONFIG_HUGETLB_PAGE */ @@ -710,16 +710,16 @@ diff --git a/Makefile b/Makefile index 3f6628780eb2..35a5ae1ede42 100644 --- a/Makefile +++ b/Makefile -@@ -1069,6 +1069,9 @@ endif - # perform bounds checking. - KBUILD_CFLAGS += $(call cc-option, -fstrict-flex-arrays=3) - +@@ -1002,6 +1002,9 @@ + KBUILD_CFLAGS-$(CONFIG_CC_NO_STRINGOP_OVERFLOW) += $(call cc-option, -Wno-stringop-overflow) + KBUILD_CFLAGS-$(CONFIG_CC_STRINGOP_OVERFLOW) += $(call cc-option, -Wstringop-overflow) + +# disable GCC vectorization on trees +KBUILD_CFLAGS += $(call cc-option, -fno-tree-vectorize) + # disable invalid "can't wrap" optimizations for signed / pointers KBUILD_CFLAGS += -fno-strict-overflow - + -- 2.39.1 |