summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorzfu <zfu@codeaurora.org>2020-03-30 15:00:57 +0800
committerzfu <zfu@codeaurora.org>2020-04-03 15:12:10 +0800
commit07e84f56da23bc158da0cc2f3c1c6923beff6fb5 (patch)
treee5e1d4875608267b93a62e3dda53809a6fe508d3 /rs/java/android/renderscript/ProgramStore.java
parentab4024e133fced0d0618571b0b61b4551f489c96 (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: I03a9807f876fd407a04082bdc95b470220a78439 CRs-Fixed: 2655911
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions