34 lines
981 B
Diff
34 lines
981 B
Diff
From b82d80a4195f179b9c0d0c80f662a7f42ed21ce8 Mon Sep 17 00:00:00 2001
|
|
From: Steven Barrett <steven@liquorix.net>
|
|
Date: Sat, 5 Mar 2022 11:37:14 -0600
|
|
Subject: 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/Kconfig | 2 +-
|
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/init/Kconfig
|
|
+++ b/init/Kconfig
|
|
@@ -176,6 +176,7 @@ config ZEN_INTERACTIVE
|
|
--- Virtual Memory Subsystem ---------------------------
|
|
|
|
Background-reclaim hugepages...: no -> yes
|
|
+ Compact unevictable............: yes -> no
|
|
|
|
--- EEVDF CPU Scheduler --------------------------------
|
|
|
|
--- a/mm/Kconfig
|
|
+++ b/mm/Kconfig
|
|
@@ -691,7 +691,7 @@ config COMPACTION
|
|
config COMPACT_UNEVICTABLE_DEFAULT
|
|
int
|
|
depends on COMPACTION
|
|
- default 0 if PREEMPT_RT
|
|
+ default 0 if PREEMPT_RT || ZEN_INTERACTIVE
|
|
default 1
|
|
|
|
#
|