Skip to content

Drivers: hv: vmbus: use cpu_hotplug_enable/disable for CPU offlining prevention

K. Y. Srinivasan lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v7 Latest4 patches 0 repliesNew

Changes in v7 from the cover letter

- Rearrange patches. [Thomas Gleixner]
- Fix a typo in PATCH 2 description [Thomas Gleixner].
- Add Reviewed-by: [Thomas Gleixner].

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpu-hotplug: convert cpu_hotplug_disabled to a counterDocumentation/power/suspend-and-cpuhotplug.txt kernel/cpu.c+16 -110 replies
2/4cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disablekernel/cpu.c+2 -10 replies
3/4Drivers: hv: vmbus: use cpu_hotplug_enable/disabledrivers/hv/vmbus_drv.c+4 -340 replies
4/4Tools: hv: kvp: fix a build warning -Wformat-securitytools/hv/hv_kvp_daemon.c+1 -10 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchThomas Gleixner
1/4R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH V7 0/4] Drivers: hv: vmbus: use cpu_hotplug_enable/disable for CPU offlining prevention

Changes since v6:
- Rearrange patches. [Thomas Gleixner]
- Fix a typo in PATCH 2 description [Thomas Gleixner].
- Add Reviewed-by: [Thomas Gleixner].

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

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.

Dexuan Cui (1):
Tools: hv: kvp: fix a build warning -Wformat-security

Vitaly Kuznetsov (3):
cpu-hotplug: convert cpu_hotplug_disabled to a counter
cpu-hotplug: export cpu_hotplug_enable/cpu_hotplug_disable
Drivers: hv: vmbus: use cpu_hotplug_enable/disable

 Documentation/power/suspend-and-cpuhotplug.txt |    6 ++--
 drivers/hv/vmbus_drv.c                         |   38 ++---------------------
 kernel/cpu.c                                   |   24 +++++++++-----
 tools/hv/hv_kvp_daemon.c                       |    2 +-
 4 files changed, 23 insertions(+), 47 deletions(-)
Signature · 1 line
1.7.4.1