lmkd: prevent the main thread from reaping synchronously am: 1c96a31917 am: 1c14dfd364
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/2256322 Change-Id: I3b48731d19ffb4f7c09b71b24eb0757675b73d60 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
56bc0d0292
|
|
@ -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