Re: [PATCH 1/2] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-05-19 Thread Vitaly Kuznetsov
Peter Zijlstra writes: > On Tue, May 19, 2015 at 02:15:41PM +0200, Vitaly Kuznetsov wrote: >> Loaded Hyper-V module will use these functions to disable CPU hotplug >> under certain circumstances. > > What's wrong with get_online_cpus() ? We need to disable cpu offlining permanently (till the mod

Re: [PATCH 1/2] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-05-19 Thread Peter Zijlstra
On Tue, May 19, 2015 at 02:15:41PM +0200, Vitaly Kuznetsov wrote: > Loaded Hyper-V module will use these functions to disable CPU hotplug > under certain circumstances. What's wrong with get_online_cpus() ? ___ devel mailing list de...@linuxdriverproject

Re: [PATCH 1/2] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-05-19 Thread Radim Krčmář
2015-05-19 14:15+0200, Vitaly Kuznetsov: > Loaded Hyper-V module will use these functions to disable CPU hotplug > under certain circumstances. > > Signed-off-by: Vitaly Kuznetsov > --- > kernel/cpu.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/kernel/cpu.c b/kern

[PATCH 1/2] cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable

2015-05-19 Thread Vitaly Kuznetsov
Loaded Hyper-V module will use these functions to disable CPU hotplug under certain circumstances. Signed-off-by: Vitaly Kuznetsov --- kernel/cpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/cpu.c b/kernel/cpu.c index 94bbe46..dc005e7 100644 --- a/kernel/cpu.c +