Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Josef Bacik
On Mon, Aug 21, 2017 at 10:06:53PM +0200, Peter Zijlstra wrote: > On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > > From: Josef Bacik > > > > The series of patches adding runnable_avg and subsequent supporting > > patches broke on !CONFIG_SMP. Fix this by

Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Josef Bacik
On Mon, Aug 21, 2017 at 10:06:53PM +0200, Peter Zijlstra wrote: > On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > > From: Josef Bacik > > > > The series of patches adding runnable_avg and subsequent supporting > > patches broke on !CONFIG_SMP. Fix this by moving the

Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Josef Bacik
On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > From: Josef Bacik > > The series of patches adding runnable_avg and subsequent supporting > patches broke on !CONFIG_SMP. Fix this by moving the definitions under > the appropriate checks, and moving the

Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Josef Bacik
On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > From: Josef Bacik > > The series of patches adding runnable_avg and subsequent supporting > patches broke on !CONFIG_SMP. Fix this by moving the definitions under > the appropriate checks, and moving the !CONFIG_SMP

Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > From: Josef Bacik > > The series of patches adding runnable_avg and subsequent supporting > patches broke on !CONFIG_SMP. Fix this by moving the definitions under > the appropriate checks, and moving the

Re: [PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 04:03:05PM -0400, jo...@toxicpanda.com wrote: > From: Josef Bacik > > The series of patches adding runnable_avg and subsequent supporting > patches broke on !CONFIG_SMP. Fix this by moving the definitions under > the appropriate checks, and moving the !CONFIG_SMP

[PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread josef
From: Josef Bacik The series of patches adding runnable_avg and subsequent supporting patches broke on !CONFIG_SMP. Fix this by moving the definitions under the appropriate checks, and moving the !CONFIG_SMP definitions higher up. Signed-off-by: Josef Bacik ---

[PATCH] sched/fair: move definitions to fix !CONFIG_SMP

2017-08-21 Thread josef
From: Josef Bacik The series of patches adding runnable_avg and subsequent supporting patches broke on !CONFIG_SMP. Fix this by moving the definitions under the appropriate checks, and moving the !CONFIG_SMP definitions higher up. Signed-off-by: Josef Bacik --- kernel/sched/fair.c | 155