Re: [PATCH v5 06/15] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-11-13 Thread Patrick Bellasi
On 11-Nov 18:08, Peter Zijlstra wrote: > On Mon, Oct 29, 2018 at 06:33:01PM +, Patrick Bellasi wrote: > > When a util_max clamped task sleeps, its clamp constraints are removed > > from the CPU. However, the blocked utilization on that CPU can still be > > higher than the max clamp value enforc

Re: [PATCH v5 06/15] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-11-11 Thread Peter Zijlstra
On Mon, Oct 29, 2018 at 06:33:01PM +, Patrick Bellasi wrote: > When a util_max clamped task sleeps, its clamp constraints are removed > from the CPU. However, the blocked utilization on that CPU can still be > higher than the max clamp value enforced while that task was running. > > The releas

[PATCH v5 06/15] sched/core: uclamp: enforce last task UCLAMP_MAX

2018-10-29 Thread Patrick Bellasi
When a util_max clamped task sleeps, its clamp constraints are removed from the CPU. However, the blocked utilization on that CPU can still be higher than the max clamp value enforced while that task was running. The release of a util_max clamp when a CPU is going to be idle could thus allow unwan