Re: [PATCH v2 1/2] sched/uclamp: Fix initialization of strut uclamp_rq

2020-06-24 Thread Qais Yousef
On 06/24/20 09:26, Patrick Bellasi wrote: > > Hi Qais, > > On Fri, Jun 19, 2020 at 19:20:10 +0200, Qais Yousef > wrote... > > > struct uclamp_rq was zeroed out entirely in assumption that in the first > > call to uclamp_rq_inc() they'd be initialized correctly in accordance to > > default sett

Re: [PATCH v2 1/2] sched/uclamp: Fix initialization of strut uclamp_rq

2020-06-24 Thread Patrick Bellasi
Hi Qais, On Fri, Jun 19, 2020 at 19:20:10 +0200, Qais Yousef wrote... > struct uclamp_rq was zeroed out entirely in assumption that in the first > call to uclamp_rq_inc() they'd be initialized correctly in accordance to > default settings. > > But when next patch introduces a static key to sk

[PATCH v2 1/2] sched/uclamp: Fix initialization of strut uclamp_rq

2020-06-19 Thread Qais Yousef
struct uclamp_rq was zeroed out entirely in assumption that in the first call to uclamp_rq_inc() they'd be initialized correctly in accordance to default settings. But when next patch introduces a static key to skip uclamp_rq_{inc,dec}() until userspace opts in to use uclamp, schedutil will fail t