summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch')
-rw-r--r--patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch b/patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch
new file mode 100644
index 0000000..d9c42b6
--- /dev/null
+++ b/patches/boot_time_opt_guest/0104-mm-reduce-vmstat-wakeups.patch
@@ -0,0 +1,25 @@
1From e09e490bbc40c9e10047af76577efb099eb915d1 Mon Sep 17 00:00:00 2001
2From: Arjan van de Ven <arjan@linux.intel.com>
3Date: Mon, 1 May 2017 01:00:51 +0000
4Subject: [PATCH 104/114] mm: reduce vmstat wakeups
5
6---
7 mm/vmstat.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/mm/vmstat.c b/mm/vmstat.c
11index 76f73670200a..3cc9788e0be2 100644
12--- a/mm/vmstat.c
13+++ b/mm/vmstat.c
14@@ -1562,7 +1562,7 @@ static const struct file_operations proc_vmstat_file_operations = {
15
16 #ifdef CONFIG_SMP
17 static DEFINE_PER_CPU(struct delayed_work, vmstat_work);
18-int sysctl_stat_interval __read_mostly = HZ;
19+int sysctl_stat_interval __read_mostly = 8 * HZ;
20
21 #ifdef CONFIG_PROC_FS
22 static void refresh_vm_stats(struct work_struct *work)
23--
242.13.2
25