diff options
author | Zhuo Fu <zfu@codeaurora.org> | 2019-08-13 17:52:15 +0800 |
---|---|---|
committer | Zhuo Fu <zfu@codeaurora.org> | 2019-08-19 06:45:34 +0000 |
commit | ed86c9073a0db72c9090aba3ff338cb1b7f5a35a (patch) | |
tree | 5a2a21a9f639b681a1d0fe34fbdd31bee75a262c /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 10b8c87ccff099bdebffec40eb756c435b2120ed (diff) |
cgroup follow for procs in the same cgroup.procs
For Android processes, cgroup is managed by AMS, when AMS change cgroup
of a task, AMS ignored processes in the same process group cgroup.procs
if a foreground app call fork at JNI and then switch to background,
children processes will keep foreground priority and out of control
dex2oat is a real world example that foreground app call exec dex2oat to
compile dexfile, when the parent process switch to background cgroup,
dex2oat will not follow it, foreground cgroup allows background dex2oat
hold huge of CPU resources, it may impact UX of foreground apps
With this change, the cgroup of children processes will follow its
parent if they are in the same cgroup.procs
Properties to control:
ro.vendor.qti.cgroup_follow.enable to enable/disable this feature
ro.vendor.qti.cgroup_follow.dex2oat_only to use for all or dex2oat only
Change-Id: Ibb7c4a451dfad6615a04d1f894ede22c7adb8ec9
CRs-Fixed: 2139112
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions