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

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

Change-Id: Idc81fd8c0e9f9e0a097cddea6682e22a4ce4ea8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Suren Baghdasaryan 2022-10-19 00:58:07 +00:00 committed by Automerger Merge Worker
commit 1c14dfd364
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() {