lmkd: prevent the main thread from reaping synchronously am: 1c96a31917 am: 1c14dfd364 am: 56bc0d0292

Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2256322

Change-Id: Ie46ce5d52634b0bcd37c85290d98511c00514947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Suren Baghdasaryan 2022-10-19 02:03:10 +00:00 committed by Automerger Merge Worker
commit 77a7c78570
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ int Reaper::kill(const struct target_proc& target, bool synchronous) {
return result;
}
return is_reaping_supported() ? process_mrelease(target.pidfd, 0) : 0;
return 0;
}
Reaper::target_proc Reaper::dequeue_request() {