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:
commit
77a7c78570
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue