Re: [PATCH] sched: Move sched_to_prio arrays out of line

2015-11-30 Thread Andi Kleen
On Mon, Nov 30, 2015 at 10:03:13AM +0100, Peter Zijlstra wrote: > On Sun, Nov 29, 2015 at 08:59:43PM -0800, Andi Kleen wrote: > > From: Andi Kleen > > > > When building a kernel with a gcc 6 snapshot the compiler complains > > about unused const static variables for prio_to_weight and prio_to_mul

Re: [PATCH] sched: Move sched_to_prio arrays out of line

2015-11-30 Thread Peter Zijlstra
On Sun, Nov 29, 2015 at 08:59:43PM -0800, Andi Kleen wrote: > From: Andi Kleen > > When building a kernel with a gcc 6 snapshot the compiler complains > about unused const static variables for prio_to_weight and prio_to_mult > for multiple scheduler files (all but core.c and autogroup.c) > > The

[PATCH] sched: Move sched_to_prio arrays out of line

2015-11-29 Thread Andi Kleen
From: Andi Kleen When building a kernel with a gcc 6 snapshot the compiler complains about unused const static variables for prio_to_weight and prio_to_mult for multiple scheduler files (all but core.c and autogroup.c) The way the array is currently declared it will be duplicated in every schedu

[PATCH] sched: Move sched_to_prio arrays out of line

2015-11-29 Thread Andi Kleen
From: Andi Kleen When building a kernel with a gcc 6 snapshot the compiler complains about unused const static variables for prio_to_weight and prio_to_mult for multiple scheduler files (all but core.c and autogroup.c) The way the array is currently declared it will be duplicated in every schedu