summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0109-init_task-faster-timerslack.patch
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2021-05-11 09:42:24 +0200
committerAdrian Calianu <Adrian.Calianu@enea.com>2021-05-12 21:56:14 +0100
commitc6e89e8a31eeeb82c5711cba8235e7e55d9be6a8 (patch)
tree93a3d96c027a437fc9b168d07ab2ad62248d77d1 /patches/boot_time_opt/0109-init_task-faster-timerslack.patch
parent7a93e54032bb148a92e16b59736a1b76fedae319 (diff)
downloadenea-kernel-cache-c6e89e8a31eeeb82c5711cba8235e7e55d9be6a8.tar.gz
boot_time_opt: update patches to 5.10 kernel
Patches used in boot time optimization are coming from clearlinux distribution. Update patches correspuding to 5.10 kernel: https://github.com/clearlinux-pkgs/linux/tree/5.10.32-1034 We selected a list of patches from ClearLinux. Those we have considered risky, unknown impact on functionality have been avoided. Change-Id: If01459292a5a383b49944645bd8536d9a62d9de3 Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0109-init_task-faster-timerslack.patch')
-rw-r--r--patches/boot_time_opt/0109-init_task-faster-timerslack.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/patches/boot_time_opt/0109-init_task-faster-timerslack.patch b/patches/boot_time_opt/0109-init_task-faster-timerslack.patch
deleted file mode 100644
index 9687012..0000000
--- a/patches/boot_time_opt/0109-init_task-faster-timerslack.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 4c35ad2b763bca4e0eaf449d42a0e4c49197da2c Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Wed, 23 Mar 2016 14:52:41 +0000
4Subject: [PATCH 109/126] init_task: faster timerslack
5
6the default tuning is a compromise between client power and server
7performance;
8for a server distro like Clear Linux, we don't need to compromise.
9(for non-server usages we have different kernel binaries)
10
11in principle this can be done as a patch to systemd as well, but we have
12a shared
13systemd between usages while we have different kernels, so the logistics
14for where the patch goes work out better here
15---
16 include/linux/init_task.h | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/include/linux/init_task.h b/include/linux/init_task.h
20index 8062e6cc607c..2903519e2462 100644
21--- a/include/linux/init_task.h
22+++ b/include/linux/init_task.h
23@@ -275,7 +275,7 @@ extern struct cred init_cred;
24 .journal_info = NULL, \
25 INIT_CPU_TIMERS(tsk) \
26 .pi_lock = __RAW_SPIN_LOCK_UNLOCKED(tsk.pi_lock), \
27- .timer_slack_ns = 50000, /* 50 usec default slack */ \
28+ .timer_slack_ns = 1000, /* 1 usec default slack */ \
29 .pids = { \
30 [PIDTYPE_PID] = INIT_PID_LINK(PIDTYPE_PID), \
31 [PIDTYPE_PGID] = INIT_PID_LINK(PIDTYPE_PGID), \
32--
332.15.0
34