Commit 28f1c8e0 authored by shenjiangjiang's avatar shenjiangjiang Committed by Todd Kjos
Browse files

ANDROID: vendor_hook: Add hook to abort reclaim and compaction



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
Change-Id: I4b637cbd2b37235eec27a985a9b5b95598247c59
Signed-off-by: default avatarshenjiangjiang <shenjiangjiang@oppo.com>
(cherry picked from commit 024628cc)
parent adad2dab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment