diff --git a/drivers/android/simple_lmk.c b/drivers/android/simple_lmk.c index 1200de5386b7..c9db1dfd3404 100644 --- a/drivers/android/simple_lmk.c +++ b/drivers/android/simple_lmk.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -193,7 +194,7 @@ static void scan_and_kill(void) /* Populate the victims array with tasks sorted by adj and then size */ pages_found = find_victims(&nr_found); if (unlikely(!nr_found)) { - pr_err("No processes available to kill!\n"); + pr_err_ratelimited("No processes available to kill!\n"); return; }