Commit eaaf6b8e authored by zhangxiangzhe's avatar zhangxiangzhe Committed by Treehugger Robot
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>
(cherry picked from commit 4fcd8ef9)
parent 2a5729e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment