summarylogtreecommitdiffstats
path: root/0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch
diff options
context:
space:
mode:
Diffstat (limited to '0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch')
-rw-r--r--0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch b/0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch
deleted file mode 100644
index 9d7ae6ff3ff1..000000000000
--- a/0027-ZEN-INTERACTIVE-mm-Disable-unevictable-compaction.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Steven Barrett <steven@liquorix.net>
-Date: Sat, 5 Mar 2022 11:37:14 -0600
-Subject: [PATCH] ZEN: INTERACTIVE: mm: Disable unevictable compaction
-
-This option is already disabled when CONFIG_PREEMPT_RT is enabled, lets
-turn it off when CONFIG_ZEN_INTERACTIVE is set as well.
----
- init/Kconfig | 1 +
- mm/compaction.c | 2 +-
- 2 files changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/init/Kconfig b/init/Kconfig
-index 6a409356b1aae9bf11399a031e0b3c69962f1370..205048962a678d7fea33263ac40cc6b1b3c3dd8e 100644
---- a/init/Kconfig
-+++ b/init/Kconfig
-@@ -131,6 +131,7 @@ config ZEN_INTERACTIVE
-
- Background-reclaim hugepages...: no -> yes
- MG-LRU minimum cache TTL.......: 0 -> 1000 ms
-+ Compact Unevictable............: 1 -> 0
-
- --- CFS CPU Scheduler ----------------------------------
-
-diff --git a/mm/compaction.c b/mm/compaction.c
-index 1f89b969c12bf5d76f10b4adcf3b6dec707a1cfc..04b62fb353b4f05268f8de3c4fcbcccc1edfde46 100644
---- a/mm/compaction.c
-+++ b/mm/compaction.c
-@@ -1726,7 +1726,7 @@ typedef enum {
- * Allow userspace to control policy on scanning the unevictable LRU for
- * compactable pages.
- */
--#ifdef CONFIG_PREEMPT_RT
-+#if defined(CONFIG_PREEMPT_RT) || defined(CONFIG_ZEN_INTERACTIVE)
- int sysctl_compact_unevictable_allowed __read_mostly = 0;
- #else
- int sysctl_compact_unevictable_allowed __read_mostly = 1;