Re: [PATCH V3 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-11-23 Thread Rafael J. Wysocki
On Mon, Nov 23, 2020 at 11:05 AM Viresh Kumar wrote: > > On 19-11-20, 13:30, Rafael J. Wysocki wrote: > > On Thu, Nov 19, 2020 at 8:38 AM Viresh Kumar > > wrote: > > > > > > There is nothing schedutil specific in schedutil_cpu_util(), move it to > > > core.c and rename it to sched_cpu_util(),

Re: [PATCH V3 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-11-23 Thread Viresh Kumar
On 19-11-20, 13:30, Rafael J. Wysocki wrote: > On Thu, Nov 19, 2020 at 8:38 AM Viresh Kumar wrote: > > > > There is nothing schedutil specific in schedutil_cpu_util(), move it to > > core.c and rename it to sched_cpu_util(), so it can be used from other > > parts of the kernel as well. > > The

Re: [PATCH V3 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-11-19 Thread Rafael J. Wysocki
On Thu, Nov 19, 2020 at 8:38 AM Viresh Kumar wrote: > > There is nothing schedutil specific in schedutil_cpu_util(), move it to > core.c and rename it to sched_cpu_util(), so it can be used from other > parts of the kernel as well. The patch does more than this, though. I would do that in two

[PATCH V3 1/2] sched/core: Rename and move schedutil_cpu_util() to core.c

2020-11-18 Thread Viresh Kumar
There is nothing schedutil specific in schedutil_cpu_util(), move it to core.c and rename it to sched_cpu_util(), so it can be used from other parts of the kernel as well. The cpufreq_cooling stuff will make use of this in a later commit. Signed-off-by: Viresh Kumar --- include/linux/sched.h