diff --git a/drivers/android/simple_lmk.c b/drivers/android/simple_lmk.c index 8fc9e0b903e7..d56546b31e8a 100644 --- a/drivers/android/simple_lmk.c +++ b/drivers/android/simple_lmk.c @@ -309,7 +309,7 @@ void simple_lmk_mm_freed(struct mm_struct *mm) static int simple_lmk_vmpressure_cb(struct notifier_block *nb, unsigned long pressure, void *data) { - if (pressure == 100 && !atomic_cmpxchg_acquire(&needs_reclaim, 0, 1)) + if (pressure >= 80 && !atomic_cmpxchg_acquire(&needs_reclaim, 0, 1)) wake_up(&oom_waitq); return NOTIFY_OK;