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:
commit
1c14dfd364
|
|
@ -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