mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "simple_lmk: Sleep after killing victims"
This reverts commit 318d4145ba4f21fe23bd96b998c0a170ab5a26b6. Change-Id: I14279c6c33a7da292376204c6824b8178b74fd6a Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
8013fc0dd7
commit
00faff4c72
@ -5,7 +5,6 @@
|
||||
|
||||
#define pr_fmt(fmt) "simple_lmk: " fmt
|
||||
|
||||
#include <linux/delay.h>
|
||||
#include <linux/freezer.h>
|
||||
#include <linux/kthread.h>
|
||||
#include <linux/mm.h>
|
||||
@ -313,8 +312,6 @@ static void scan_and_kill(void)
|
||||
/* Wait until all the victims die or until the timeout is reached */
|
||||
if (!wait_for_completion_timeout(&reclaim_done, RECLAIM_EXPIRES))
|
||||
pr_info("Timeout hit waiting for victims to die, proceeding\n");
|
||||
else
|
||||
msleep(100);
|
||||
|
||||
/* Clean up for future reclaims but let the reaper thread keep going */
|
||||
write_lock(&mm_free_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user