Re: [PATCH v6 0/3] Drivers: hv: vmbus: use cpu_hotplug_enable/disable for CPU offlining prevention

From: Vitaly Kuznetsov
Date: Mon Jul 13 2015 - 13:06:32 EST


Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> writes:

> Changes since v5:
> - Split PATCH 1 into two (PATCH 1/3 and 3/3), rewrite changelogs. [Thomas
> Gleixner]

Sorry for the ping but Greg won't probably take this into his tree
without some feedback on patches 1 and 3 from core kernel people. Could
you please take a look?

Thanks,

>
> Changes since v4:
> - In disable_nonboot_cpus() do cpu_hotplug_disabled++ unconditionally as
> its users are doing enable_nonboot_cpus() on their failure paths.
>
> Changes since v3:
> - add WARN_ON when decreasing cpu_hotplug_disabled [Peter Zijlstra]
>
> Changes since v2:
> - Rebase on top of current Greg's char-misc-next tree [K. Y. Srinivasan]
>
> Changes since v1:
> - Make cpu_hotplug_disabled a counter [Radim KrÄmÃÅ]
>
> Export cpu_hotplug_enable/cpu_hotplug_disable functions from cpu.c and use
> them instead of altering smp_ops.cpu_disable in Hyper-V vmbus module.
>
> Vitaly Kuznetsov (3):
> cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable
> Drivers: hv: vmbus: use cpu_hotplug_enable/disable
> cpu-hotplug: convert cpu_hotplug_disabled to a counter
>
> Documentation/power/suspend-and-cpuhotplug.txt | 6 ++--
> drivers/hv/vmbus_drv.c | 38 +++-----------------------
> kernel/cpu.c | 24 ++++++++++------
> 3 files changed, 22 insertions(+), 46 deletions(-)

--
Vitaly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/