ANDROID: cpuhp/pause: schedule cpu_hotplug_work on resume cpu
Resume cpu need to run cpuset_hotplug_workfn which need take about several milliseconds, and even more if the system have more tasks. This isn't suitable to run in the main task context of resume cpu. Due to the cpu which is resuming only have active mask, but still not rebuild sched domain, make this slow work run on resuming cpu can not take extra overload to previous active cpus. Bug: 203839955 Fixes: 1d3a64fb ("ANDROID: cpu/hotplug: rebuild sched domains immediately") Change-Id: Ia7bdd077f982950c02696c3598a41b2482046220 Signed-off-by:Tengfei Fan <quic_tengfan@quicinc.com> Signed-off-by:
Maria Yu <quic_aiquny@quicinc.com>
Loading
Please sign in to comment