summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0105-vmstats-wakeups.patch
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-05-22 08:48:43 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-05-23 15:00:02 +0200
commit50c1ba5eaae2e50e351e5041d0a6d782972ce8be (patch)
treee42cdc89a5ff1faad4f152197c1170560d0f3c23 /patches/boot_time_opt/0105-vmstats-wakeups.patch
parent5057d9d3837fc35814a402b9c0384a064d260d05 (diff)
downloadenea-kernel-cache-50c1ba5eaae2e50e351e5041d0a6d782972ce8be.tar.gz
patches: Boot time optimazation with ClearLinux pathes
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0105-vmstats-wakeups.patch')
-rw-r--r--patches/boot_time_opt/0105-vmstats-wakeups.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0105-vmstats-wakeups.patch b/patches/boot_time_opt/0105-vmstats-wakeups.patch
new file mode 100644
index 0000000..09b109a
--- /dev/null
+++ b/patches/boot_time_opt/0105-vmstats-wakeups.patch
@@ -0,0 +1,28 @@
1From ff47b4e9be8113b4ba05d6f2afee3db6904bc10f Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Wed, 11 Feb 2015 16:47:20 -0600
4Subject: [PATCH 105/114] vmstats: wakeups
5
6Author: Arjan van de Ven <arjan@linux.intel.com>
7
8Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
9---
10 mm/vmstat.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/mm/vmstat.c b/mm/vmstat.c
14index 7c28df36f50f..efe1b6797139 100644
15--- a/mm/vmstat.c
16+++ b/mm/vmstat.c
17@@ -1549,7 +1549,7 @@ static const struct file_operations proc_vmstat_file_operations = {
18 #ifdef CONFIG_SMP
19 static struct workqueue_struct *vmstat_wq;
20 static DEFINE_PER_CPU(struct delayed_work, vmstat_work);
21-int sysctl_stat_interval __read_mostly = HZ;
22+int sysctl_stat_interval __read_mostly = 8 * HZ;
23
24 #ifdef CONFIG_PROC_FS
25 static void refresh_vm_stats(struct work_struct *work)
26--
272.11.1
28