diff options
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.patch | 34 |
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 @@ | |||
1 | From 4c35ad2b763bca4e0eaf449d42a0e4c49197da2c Mon Sep 17 00:00:00 2001 | ||
2 | From: Arjan van de Ven <arjan@linux.intel.com> | ||
3 | Date: Wed, 23 Mar 2016 14:52:41 +0000 | ||
4 | Subject: [PATCH 109/126] init_task: faster timerslack | ||
5 | |||
6 | the default tuning is a compromise between client power and server | ||
7 | performance; | ||
8 | for a server distro like Clear Linux, we don't need to compromise. | ||
9 | (for non-server usages we have different kernel binaries) | ||
10 | |||
11 | in principle this can be done as a patch to systemd as well, but we have | ||
12 | a shared | ||
13 | systemd between usages while we have different kernels, so the logistics | ||
14 | for 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 | |||
19 | diff --git a/include/linux/init_task.h b/include/linux/init_task.h | ||
20 | index 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 | -- | ||
33 | 2.15.0 | ||
34 | |||