Re: [PATCH] sched/fair: move capacity_margin definition into #ifdef

From: Olof Johansson
Date: Tue Dec 11 2018 - 10:20:37 EST


On Mon, Dec 10, 2018 at 11:46 PM Vincent Guittot
<vincent.guittot@xxxxxxxxxx> wrote:
>
> Hi Arnd,
>
> On Mon, 10 Dec 2018 at 22:01, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> >
> > Marking the variable static showed that it's only used for
> > SMP builds, as seen from this warning:
> >
> > kernel/sched/fair.c:119:21: error: 'capacity_margin' defined but not used [-Werror=unused-variable]
> > static unsigned int capacity_margin = 1280;
>
> Olof sent a similar patch 2 weeks ago: https://lkml.org/lkml/2018/11/26/115

Yeah, Ingo seems to be high latency right now. :( Anyone else able to
pick it up? Peter?


-Olof