release 6.16.3 (preliminary)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
From 7479efa37dfb05263e0984ca1e1a3da22fa62414 Mon Sep 17 00:00:00 2001
|
||||
From 8f188bee3819f45c66b00ffd8a8f3b65247efcdb Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Thu, 28 Nov 2024 22:55:27 +0000
|
||||
Subject: [PATCH 03/19] kbuild: Re-add .config file required to sign external
|
||||
Subject: [PATCH 05/20] kbuild: Re-add .config file required to sign external
|
||||
modules
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
From 3cd805916cf93d70ef73a006ed54c737c1bb44ca Mon Sep 17 00:00:00 2001
|
||||
From dc18410893372cca1aad9e912fd119f462b2d89a Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Thu, 11 May 2023 19:41:41 +0000
|
||||
Subject: [PATCH 05/19] XANMOD: fair: Set scheduler tunable latencies to
|
||||
Subject: [PATCH 06/20] XANMOD: fair: Set scheduler tunable latencies to
|
||||
unscaled
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,76 +0,0 @@
|
||||
From 0d678f81894ace50347c6223255b8263161299fe Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Sat, 31 Aug 2024 16:57:41 +0000
|
||||
Subject: [PATCH 04/19] kbuild: Remove GCC minimal function alignment
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
---
|
||||
Makefile | 7 -------
|
||||
arch/Kconfig | 12 ------------
|
||||
include/linux/compiler_types.h | 10 +++++-----
|
||||
3 files changed, 5 insertions(+), 24 deletions(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1058,15 +1058,8 @@ export CC_FLAGS_FPU
|
||||
export CC_FLAGS_NO_FPU
|
||||
|
||||
ifneq ($(CONFIG_FUNCTION_ALIGNMENT),0)
|
||||
-# Set the minimal function alignment. Use the newer GCC option
|
||||
-# -fmin-function-alignment if it is available, or fall back to -falign-funtions.
|
||||
-# See also CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT.
|
||||
-ifdef CONFIG_CC_HAS_MIN_FUNCTION_ALIGNMENT
|
||||
-KBUILD_CFLAGS += -fmin-function-alignment=$(CONFIG_FUNCTION_ALIGNMENT)
|
||||
-else
|
||||
KBUILD_CFLAGS += -falign-functions=$(CONFIG_FUNCTION_ALIGNMENT)
|
||||
endif
|
||||
-endif
|
||||
|
||||
# arch Makefile may override CC so keep this after arch Makefile is included
|
||||
NOSTDINC_FLAGS += -nostdinc
|
||||
--- a/arch/Kconfig
|
||||
+++ b/arch/Kconfig
|
||||
@@ -1734,18 +1734,6 @@ config FUNCTION_ALIGNMENT
|
||||
default 4 if FUNCTION_ALIGNMENT_4B
|
||||
default 0
|
||||
|
||||
-config CC_HAS_MIN_FUNCTION_ALIGNMENT
|
||||
- # Detect availability of the GCC option -fmin-function-alignment which
|
||||
- # guarantees minimal alignment for all functions, unlike
|
||||
- # -falign-functions which the compiler ignores for cold functions.
|
||||
- def_bool $(cc-option, -fmin-function-alignment=8)
|
||||
-
|
||||
-config CC_HAS_SANE_FUNCTION_ALIGNMENT
|
||||
- # Set if the guaranteed alignment with -fmin-function-alignment is
|
||||
- # available or extra care is required in the kernel. Clang provides
|
||||
- # strict alignment always, even with -falign-functions.
|
||||
- def_bool CC_HAS_MIN_FUNCTION_ALIGNMENT || CC_IS_CLANG
|
||||
-
|
||||
config ARCH_NEED_CMPXCHG_1_EMU
|
||||
bool
|
||||
|
||||
--- a/include/linux/compiler_types.h
|
||||
+++ b/include/linux/compiler_types.h
|
||||
@@ -99,17 +99,17 @@ static inline void __chk_io_ptr(const vo
|
||||
* gcc: https://gcc.gnu.org/onlinedocs/gcc/Label-Attributes.html#index-cold-label-attribute
|
||||
*
|
||||
* When -falign-functions=N is in use, we must avoid the cold attribute as
|
||||
- * GCC drops the alignment for cold functions. Worse, GCC can implicitly mark
|
||||
- * callees of cold functions as cold themselves, so it's not sufficient to add
|
||||
- * __function_aligned here as that will not ensure that callees are correctly
|
||||
- * aligned.
|
||||
+ * contemporary versions of GCC drop the alignment for cold functions. Worse,
|
||||
+ * GCC can implicitly mark callees of cold functions as cold themselves, so
|
||||
+ * it's not sufficient to add __function_aligned here as that will not ensure
|
||||
+ * that callees are correctly aligned.
|
||||
*
|
||||
* See:
|
||||
*
|
||||
* https://lore.kernel.org/lkml/Y77%2FqVgvaJidFpYt@FVFF77S0Q05N
|
||||
* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88345#c9
|
||||
*/
|
||||
-#if defined(CONFIG_CC_HAS_SANE_FUNCTION_ALIGNMENT) || (CONFIG_FUNCTION_ALIGNMENT == 0)
|
||||
+#if !defined(CONFIG_CC_IS_GCC) || (CONFIG_FUNCTION_ALIGNMENT == 0)
|
||||
#define __cold __attribute__((__cold__))
|
||||
#else
|
||||
#define __cold
|
@@ -1,7 +1,7 @@
|
||||
From fa6afaf41316657a46bc70c9e942051e15e837fd Mon Sep 17 00:00:00 2001
|
||||
From 3ad875b148a5b6cd734767979c0e99abde0cd27d Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Sun, 15 Sep 2024 23:03:38 +0000
|
||||
Subject: [PATCH 06/19] XANMOD: sched: Add yield_type sysctl to reduce or
|
||||
Subject: [PATCH 07/20] XANMOD: sched: Add yield_type sysctl to reduce or
|
||||
disable sched_yield
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
@@ -12,7 +12,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
||||
--- a/kernel/sched/syscalls.c
|
||||
+++ b/kernel/sched/syscalls.c
|
||||
@@ -1350,15 +1350,29 @@ SYSCALL_DEFINE3(sched_getaffinity, pid_t
|
||||
@@ -1351,15 +1351,29 @@ SYSCALL_DEFINE3(sched_getaffinity, pid_t
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
rq_unlock_irq(rq, &rf);
|
||||
--- a/kernel/sysctl.c
|
||||
+++ b/kernel/sysctl.c
|
||||
@@ -80,6 +80,8 @@ EXPORT_SYMBOL_GPL(sysctl_long_vals);
|
||||
@@ -73,6 +73,8 @@ EXPORT_SYMBOL_GPL(sysctl_long_vals);
|
||||
|
||||
#if defined(CONFIG_SYSCTL)
|
||||
|
||||
@@ -54,10 +54,10 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
/* Constants used for minimum and maximum */
|
||||
static const int ngroups_max = NGROUPS_MAX;
|
||||
static const int cap_last_cap = CAP_LAST_CAP;
|
||||
@@ -1608,6 +1610,15 @@ static const struct ctl_table kern_table
|
||||
.proc_handler = proc_dointvec,
|
||||
},
|
||||
#endif
|
||||
@@ -1585,6 +1587,15 @@ int proc_do_static_key(const struct ctl_
|
||||
}
|
||||
|
||||
static const struct ctl_table kern_table[] = {
|
||||
+ {
|
||||
+ .procname = "yield_type",
|
||||
+ .data = &sysctl_sched_yield_type,
|
||||
@@ -67,6 +67,6 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
+ .extra1 = SYSCTL_ZERO,
|
||||
+ .extra2 = SYSCTL_TWO,
|
||||
+ },
|
||||
#ifdef CONFIG_PROC_SYSCTL
|
||||
#ifdef CONFIG_USER_NS
|
||||
{
|
||||
.procname = "tainted",
|
||||
.procname = "unprivileged_userns_clone",
|
@@ -1,7 +1,7 @@
|
||||
From 5dc5d7a3a1c25cd5d7c2079bbe56ff7c0066c76a Mon Sep 17 00:00:00 2001
|
||||
From db31ff982d647321b426693b3779855926a831db Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Wed, 11 May 2022 18:56:51 +0000
|
||||
Subject: [PATCH 07/19] XANMOD: block/mq-deadline: Increase write priority to
|
||||
Subject: [PATCH 08/20] XANMOD: block/mq-deadline: Increase write priority to
|
||||
improve responsiveness
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,7 +1,7 @@
|
||||
From 83f38053e977907d085d7f27a24f1b2844a03f1c Mon Sep 17 00:00:00 2001
|
||||
From 5a6a3325e1d23b8981e9ed747276a2b6d7d316a2 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Thu, 6 Jan 2022 16:59:01 +0000
|
||||
Subject: [PATCH 08/19] XANMOD: block/mq-deadline: Disable front_merges by
|
||||
Subject: [PATCH 09/20] XANMOD: block/mq-deadline: Disable front_merges by
|
||||
default
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,7 +1,7 @@
|
||||
From 6c75a84f9f89c848e76650cc66672246fa62843f Mon Sep 17 00:00:00 2001
|
||||
From 6412c4a256e906ab8bbcddc1be56910613f3c375 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 16 Sep 2024 15:36:01 +0000
|
||||
Subject: [PATCH 09/19] XANMOD: block: Set rq_affinity to force complete I/O
|
||||
Subject: [PATCH 10/20] XANMOD: block: Set rq_affinity to force complete I/O
|
||||
requests on same CPU
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
@@ -11,7 +11,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
||||
--- a/include/linux/blkdev.h
|
||||
+++ b/include/linux/blkdev.h
|
||||
@@ -652,7 +652,8 @@ enum {
|
||||
@@ -655,7 +655,8 @@ enum {
|
||||
QUEUE_FLAG_MAX
|
||||
};
|
||||
|
@@ -1,7 +1,7 @@
|
||||
From 287c275293025e956f2144e55de8cc51eec0811b Mon Sep 17 00:00:00 2001
|
||||
From a16d2a485d2dd60d91fd166c0cd09835d57ce5dc Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 15 Jul 2024 04:50:34 +0000
|
||||
Subject: [PATCH 10/19] XANMOD: blk-wbt: Set wbt_default_latency_nsec() to
|
||||
Subject: [PATCH 11/20] XANMOD: blk-wbt: Set wbt_default_latency_nsec() to
|
||||
2msec
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
@@ -11,7 +11,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
||||
--- a/block/blk-wbt.c
|
||||
+++ b/block/blk-wbt.c
|
||||
@@ -727,14 +727,8 @@ EXPORT_SYMBOL_GPL(wbt_enable_default);
|
||||
@@ -730,14 +730,8 @@ EXPORT_SYMBOL_GPL(wbt_enable_default);
|
||||
|
||||
u64 wbt_default_latency_nsec(struct request_queue *q)
|
||||
{
|
@@ -1,7 +1,7 @@
|
||||
From 25c1d0ad74a27ac80dbda2840eba4fe53046ed55 Mon Sep 17 00:00:00 2001
|
||||
From 9c77ecedb9f94f5140e6dcc15d9ab87adcc2d0ac Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 29 Jan 2018 17:26:15 +0000
|
||||
Subject: [PATCH 11/19] XANMOD: kconfig: add 500Hz timer interrupt kernel
|
||||
Subject: [PATCH 12/20] XANMOD: kconfig: add 500Hz timer interrupt kernel
|
||||
config option
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,8 +1,8 @@
|
||||
From 185191cd2a98629f35cb5cd6c0116ceb33635dd8 Mon Sep 17 00:00:00 2001
|
||||
From 29bff014ffe0d6179dadb9d7882632c57d93822c Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 29 Jan 2018 16:59:22 +0000
|
||||
Subject: [PATCH 12/19] XANMOD: dcache: cache_pressure = 50 decreases the rate
|
||||
at which VFS caches are reclaimed
|
||||
Date: Mon, 28 Jul 2025 17:20:16 +0000
|
||||
Subject: [PATCH 13/20] XANMOD: vfs: Decrease rate at which vfs caches are
|
||||
reclaimed
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
---
|
||||
@@ -17,6 +17,6 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
*/
|
||||
-static int sysctl_vfs_cache_pressure __read_mostly = 100;
|
||||
+static int sysctl_vfs_cache_pressure __read_mostly = 50;
|
||||
static int sysctl_vfs_cache_pressure_denom __read_mostly = 100;
|
||||
|
||||
unsigned long vfs_pressure_ratio(unsigned long val)
|
||||
{
|
@@ -1,7 +1,7 @@
|
||||
From 653701587608c8113dd4c941526104cea83d697e Mon Sep 17 00:00:00 2001
|
||||
From 5de3ee4e997355118cbdc6249afebdf3bef3129a Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Sun, 28 Apr 2024 09:06:54 +0000
|
||||
Subject: [PATCH 13/19] XANMOD: mm: Raise max_map_count default value
|
||||
Subject: [PATCH 14/20] XANMOD: mm: Raise max_map_count default value
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
---
|
||||
@@ -11,7 +11,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
||||
--- a/Documentation/admin-guide/sysctl/vm.rst
|
||||
+++ b/Documentation/admin-guide/sysctl/vm.rst
|
||||
@@ -470,7 +470,7 @@ While most applications need less than a
|
||||
@@ -477,7 +477,7 @@ While most applications need less than a
|
||||
programs, particularly malloc debuggers, may consume lots of them,
|
||||
e.g., up to one or two maps per allocation.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
From 7ede458d310744257808696e599b8e9b11333dd0 Mon Sep 17 00:00:00 2001
|
||||
From 5dc99919f35bd759762b4ebaee55cead67f80680 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Fri, 30 May 2025 19:58:58 +0000
|
||||
Subject: [PATCH 14/19] XANMOD: mm/vmscan: Reduce amount of swapping
|
||||
Subject: [PATCH 15/20] XANMOD: mm/vmscan: Reduce amount of swapping
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
---
|
@@ -1,7 +1,7 @@
|
||||
From d5b37aa9862773c0cdf95676cc15d97416311ba2 Mon Sep 17 00:00:00 2001
|
||||
From 80ef8da328db02245f16e1873466a8cec86b4846 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Wed, 15 Jun 2022 17:07:29 +0000
|
||||
Subject: [PATCH 15/19] XANMOD: sched/autogroup: Add kernel parameter and
|
||||
Subject: [PATCH 16/20] XANMOD: sched/autogroup: Add kernel parameter and
|
||||
config option to enable/disable autogroup feature by default
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
@@ -13,7 +13,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
|
||||
--- a/Documentation/admin-guide/kernel-parameters.txt
|
||||
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
||||
@@ -507,6 +507,10 @@
|
||||
@@ -510,6 +510,10 @@
|
||||
Format: <int> (must be >=0)
|
||||
Default: 64
|
||||
|
||||
@@ -24,7 +24,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
bau= [X86_UV] Enable the BAU on SGI UV. The default
|
||||
behavior is to disable the BAU (i.e. bau=0).
|
||||
Format: { "0" | "1" }
|
||||
@@ -4086,8 +4090,6 @@
|
||||
@@ -4129,8 +4133,6 @@
|
||||
|
||||
noapictimer [APIC,X86] Don't set up the APIC timer
|
||||
|
||||
@@ -35,7 +35,7 @@ Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
no_console_suspend
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -1374,6 +1374,18 @@ config SCHED_AUTOGROUP
|
||||
@@ -1393,6 +1393,18 @@ config SCHED_AUTOGROUP
|
||||
desktop applications. Task group autogeneration is currently based
|
||||
upon task session.
|
||||
|
@@ -1,7 +1,7 @@
|
||||
From 475f127d322b1fe12a8f486e779ec60cc03220bc Mon Sep 17 00:00:00 2001
|
||||
From df6c5af7be4fdfd1beadc3d9ef5b573717b049e1 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Tue, 31 Mar 2020 13:32:08 -0300
|
||||
Subject: [PATCH 16/19] XANMOD: cpufreq: tunes ondemand and conservative
|
||||
Subject: [PATCH 17/20] XANMOD: cpufreq: tunes ondemand and conservative
|
||||
governor for performance
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,7 +1,7 @@
|
||||
From ecbc96ba0c56aa4c94c1a4bcb3184cc79fad1d3d Mon Sep 17 00:00:00 2001
|
||||
From b203a73ce3d1b097117180903b33f37ae83e4a94 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 16 Sep 2024 08:09:56 +0000
|
||||
Subject: [PATCH 17/19] XANMOD: lib/kconfig.debug: disable default
|
||||
Subject: [PATCH 18/20] XANMOD: lib/kconfig.debug: disable default
|
||||
SYMBOLIC_ERRNAME and DEBUG_BUGVERBOSE
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,7 +1,7 @@
|
||||
From 3606c4614583729c8471c98d171d42ff895b38c4 Mon Sep 17 00:00:00 2001
|
||||
From 9a67710027ff742f3dfd21e32318d056b0c490f3 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Sun, 29 May 2022 00:57:40 +0000
|
||||
Subject: [PATCH 18/19] XANMOD: scripts/setlocalversion: remove "+" tag for git
|
||||
Subject: [PATCH 19/20] XANMOD: scripts/setlocalversion: remove '+' tag for git
|
||||
repo short version
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
@@ -1,7 +1,7 @@
|
||||
From 927fa9cd3d3b0a6f65c44d492c263d0669ec4b7e Mon Sep 17 00:00:00 2001
|
||||
From d034a044b32f6b646b9b5f798d1b707b2ba02dfc Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 24 Apr 2023 04:50:34 +0000
|
||||
Subject: [PATCH 19/19] XANMOD: scripts/setlocalversion: Move localversion*
|
||||
Subject: [PATCH 20/20] XANMOD: scripts/setlocalversion: Move localversion*
|
||||
files to the end
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
Reference in New Issue
Block a user