Skip to content

Commit

Permalink
simple_lmk: Add !PSI dependency
Browse files Browse the repository at this point in the history
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>
Signed-off-by: khusika <mail@khusika.com>
  • Loading branch information
kerneltoast authored and khusika committed Sep 13, 2020
1 parent 8a860cf commit df993d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/android/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df993d2

Please sign in to comment.