Re: [PATCH v2 1/3] sched/fair: fix rounding issue for asym packing

From: Valentin Schneider
Date: Wed Dec 19 2018 - 09:59:44 EST

On 19/12/2018 13:39, Vincent Guittot wrote:
>> I used that setup out of convenience for myself, but AFAICT that use-case
>> just stresses that issue.
> After looking at you UC in details, your problem comes from the wl=1
> for cpu0 whereas there is no running task.
> But wl!=0 without running task should not be possible since fdf5f3
> ("wsched/fair: Disable LB_BIAS by default")
> This explain the 1023 instead of 1022

True, I had a look at the trace and there doesn't seem to be any running
task on that CPU. That's a separate matter however - the rounding issues
can happen regardless of the wl values.