Hi all
Problem solved, issue related with KERNEL commit 3e1ffadb ("ANDROID:
cpuset: Make cpusets restore on hotplug")
<
https://github.com/projectceladon/device-androidia-kernel/commit/3e1ffadb...
which was merged on 2018/11/13
Both method (1.) and (2.) solved my issues. I have not test (3.), but it
should works too.
1. simply revert that commit
2. modified that commit
diff --git a/kernel/cgroup/cpuset.c b/kernel/cgroup/cpuset.c
index beccc26..cb77e87 100644
--- a/kernel/cgroup/cpuset.c
+++ b/kernel/cgroup/cpuset.c
@@ -2083,6 +2083,8 @@ static void cpuset_bind(struct cgroup_subsys_state
*root_css)
} else {
cpumask_copy(top_cpuset.cpus_allowed,
top_cpuset.effective_cpus);
*+ cpumask_copy(top_cpuset.cpus_requested,*
*+ top_cpuset.effective_cpus);*
top_cpuset.mems_allowed = top_cpuset.effective_mems;
}
3. add below section into device/intel/project-celadon/<target>/init.rc
---
on late-init
copy /sys/devices/system/cpu/online /dev/cpuset/foreground/cpus
copy /sys/devices/system/cpu/online /dev/cpuset/background/cpus
copy /sys/devices/system/cpu/online /dev/cpuset/system-background/cpus
copy /sys/devices/system/cpu/online /dev/cpuset/top-app/cpus
copy /sys/devices/system/cpu/online /dev/cpuset/foreground/boost/cpus
---
BTW, i add "echo `date` >> /cache/test.log"
into script "device/intel/mixins/groups/cpuset/autocores/config_cpuset.sh"
for verify script execution.
Result: Not executed.