sched: schedutil: change loop condition to get next_freq on shared policy
authorYoungtae Lee <yt0729.lee@samsung.com>
Tue, 14 Nov 2017 02:18:33 +0000 (11:18 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:30:21 +0000 (17:30 +0900)
commit82f75d3edf677170b6cebf7b722ac3601fd96518
tree3d06dc59b9da78cdc319dcb1c8b82e9037e9792e
parentdda327532c57cf86e77ecc23488067ab981a1896
sched: schedutil: change loop condition to get next_freq on shared policy

Between CPUHP_AP_ONLINE_DYN notif for cpufreq and stopper,
schedutil can not see util of hotplug out core.
At this time, there is a task in the core which is hotplug out,
there is a problem that utilization of these tasks is not reflected.
To avoid this, schedutil sees through the online mask to find next_frequency.

Change-Id: I3fc28c605edb184de390727a5f4a3eaa73a8797c
Signed-off-by: Youngtae Lee <yt0729.lee@samsung.com>
kernel/sched/cpufreq_schedutil.c