Re: [PATCH v5] nohz: set isolcpus when nohz_full is set

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 12:59:39PM -0400, Chris Metcalf wrote: > diff --git a/include/linux/sched.h b/include/linux/sched.h > index 6d77432e14ff..18a961b9beba 100644 > --- a/include/linux/sched.h > +++ b/include/linux/sched.h > @@ -323,6 +323,7 @@ struct task_struct; > extern int

[PATCH v5] nohz: set isolcpus when nohz_full is set

2015-04-09 Thread Chris Metcalf
nohz_full is only useful with isolcpus also set, since otherwise the scheduler has to run periodically to try to determine whether to steal work from other cores. Accordingly, when booting with nohz_full=xxx on the command line, we should act as if isolcpus=xxx was also set, and set (or extend)

[PATCH v5] nohz: set isolcpus when nohz_full is set

2015-04-09 Thread Chris Metcalf
nohz_full is only useful with isolcpus also set, since otherwise the scheduler has to run periodically to try to determine whether to steal work from other cores. Accordingly, when booting with nohz_full=xxx on the command line, we should act as if isolcpus=xxx was also set, and set (or extend)

Re: [PATCH v5] nohz: set isolcpus when nohz_full is set

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 12:59:39PM -0400, Chris Metcalf wrote: diff --git a/include/linux/sched.h b/include/linux/sched.h index 6d77432e14ff..18a961b9beba 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -323,6 +323,7 @@ struct task_struct; extern int