From 391413bab8008eae9a31272698675927219eeadf Mon Sep 17 00:00:00 2001 From: Sultan Alsawaf Date: Thu, 10 Sep 2020 15:43:46 -0700 Subject: [PATCH] simple_lmk: Add !PSI dependency When PSI is enabled, lmkd in userspace will use PSI notifications to perform low memory kills. Therefore, to ensure that Simple LMK is the only active LMK implementation, add a !PSI dependency. Signed-off-by: Sultan Alsawaf --- drivers/android/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig index a1793579f159..3f9ba2846d8a 100755 --- a/drivers/android/Kconfig +++ b/drivers/android/Kconfig @@ -56,7 +56,7 @@ config ANDROID_BINDER_IPC_SELFTEST config ANDROID_SIMPLE_LMK bool "Simple Android Low Memory Killer" - depends on !ANDROID_LOW_MEMORY_KILLER && !MEMCG + depends on !ANDROID_LOW_MEMORY_KILLER && !MEMCG && !PSI ---help--- This is a complete low memory killer solution for Android that is small and simple. Processes are killed according to the priorities