Re: [PATCH v4 2/5] sched: Take cpufreq feedback into account

2024-01-29 Thread Qais Yousef
On 01/30/24 00:26, Qais Yousef wrote: > On 01/09/24 17:46, Vincent Guittot wrote: > > Aggregate the different pressures applied on the capacity of CPUs and > > create a new function that returns the actual capacity of the CPU: > > get_actual_cpu_capacity() > > > > Signed-off-by: Vincent Guittot

Re: [PATCH v4 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure

2024-01-29 Thread Qais Yousef
On 01/09/24 17:46, Vincent Guittot wrote: > Now that cpufreq provides a pressure value to the scheduler, rename > arch_update_thermal_pressure into HW pressure to reflect that it returns > a pressure applied by HW (i.e. with a high frequency change) and not > always related to thermal mitigation bu

Re: [PATCH v4 5/5] sched/pelt: Remove shift of thermal clock

2024-01-29 Thread Qais Yousef
On 01/09/24 17:46, Vincent Guittot wrote: > The optional shift of the clock used by thermal/hw load avg has been > introduced to handle case where the signal was not always a high frequency > hw signal. Now that cpufreq provides a signal for firmware and > SW pressure, we can remove this exception

Re: [PATCH v4 4/5] sched: Rename arch_update_thermal_pressure into arch_update_hw_pressure

2024-01-29 Thread Qais Yousef
On 01/09/24 17:46, Vincent Guittot wrote: > Now that cpufreq provides a pressure value to the scheduler, rename > arch_update_thermal_pressure into HW pressure to reflect that it returns > a pressure applied by HW (i.e. with a high frequency change) and not > always related to thermal mitigation bu

Re: [PATCH v4 2/5] sched: Take cpufreq feedback into account

2024-01-29 Thread Qais Yousef
On 01/09/24 17:46, Vincent Guittot wrote: > Aggregate the different pressures applied on the capacity of CPUs and > create a new function that returns the actual capacity of the CPU: > get_actual_cpu_capacity() > > Signed-off-by: Vincent Guittot > Reviewed-by: Lukasz Luba > --- > kernel/sched

Re: [PATCH v4 1/5] cpufreq: Add a cpufreq pressure feedback for the scheduler

2024-01-29 Thread Qais Yousef
On 01/09/24 17:46, Vincent Guittot wrote: > Provide to the scheduler a feedback about the temporary max available > capacity. Unlike arch_update_thermal_pressure, this doesn't need to be > filtered as the pressure will happen for dozens ms or more. > > Signed-off-by: Vincent Guittot > --- > driv

[PATCH 4/6] ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL

2024-01-29 Thread Kees Cook
For simplicity in splitting out UBSan options into separate rules, remove CONFIG_UBSAN_SANITIZE_ALL, effectively defaulting to "y", which is how it is generally used anyway. (There are no ":= y" cases beyond where a specific file is enabled when a top-level ":= n" is in effect.) Cc: Andrey Konoval