Re: [PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL

2016-03-05 Thread Ingo Molnar
* Chris Metcalf wrote: > On 03/03/2016 01:34 PM, Andi Kleen wrote: > >Chris Metcalf writes: > >>+config TASK_ISOLATION_ALL > >>+ bool "Provide task isolation on all CPUs by default (except CPU 0)" > >>+ depends on TASK_ISOLATION > >>+ help > >>+If the user doesn't pass the task_isolat

Re: [PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL

2016-03-03 Thread Andi Kleen
> The same arguments would seem to apply to TASK_ISOLATION_ALL; > note that applications don't actually go into task isolation mode > without issuing the appropriate prctl(), so it shouldn't be too That's a fair point. If it's entirely opt-in it's probably ok. -Andi

Re: [PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL

2016-03-03 Thread Chris Metcalf
On 03/03/2016 01:34 PM, Andi Kleen wrote: Chris Metcalf writes: +config TASK_ISOLATION_ALL + bool "Provide task isolation on all CPUs by default (except CPU 0)" + depends on TASK_ISOLATION + help +If the user doesn't pass the task_isolation boot option to +d

Re: [PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL

2016-03-03 Thread Andi Kleen
Chris Metcalf writes: > > +config TASK_ISOLATION_ALL > + bool "Provide task isolation on all CPUs by default (except CPU 0)" > + depends on TASK_ISOLATION > + help > + If the user doesn't pass the task_isolation boot option to > + define the range of task isolation CPUs, co

[PATCH v10 05/12] task_isolation: support CONFIG_TASK_ISOLATION_ALL

2016-03-02 Thread Chris Metcalf
This option, similar to NO_HZ_FULL_ALL, simplifies configuring a system to boot by default with all cores except the boot core running in task isolation mode. --- init/Kconfig | 10 ++ kernel/isolation.c | 6 ++ 2 files changed, 16 insertions(+) diff --git a/init/Kconfig b/init