Commit 4fcd8ef9 authored by zhangxiangzhe's avatar zhangxiangzhe Committed by Matthias Männich
Browse files

Reapply "ANDROID: vendor_hook: Add hook to abort reclaim and compaction"



This reverts commit 003ff581.

We need to abort the reclaim/compaction by sending
signal(such as SIGUSR2) to the reclaim thread, or
just abort when cpu-usage is too-high or free-mem is enough.

Bug: 289987875
Bug: 356961335
Change-Id: I70b23b72f312f49ecffae676f5eea4711bea085c
Signed-off-by: default avatarshenjiangjiang <shenjiangjiang@oppo.com>
Signed-off-by: default avatarzhangxiangzhe <zhangxiangzhe@xiaomi.com>
parent 8d7f22f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment