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 <sultan@kerneltoast.com>
fourteen
Sultan Alsawaf 4 years ago committed by Jenna
parent ca5f1e0010
commit 391413bab8
  1. 2
      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

Loading…
Cancel
Save