Skip to content

Drivers: hv: balloon: two memory hotplug fixes

Vitaly Kuznetsov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Drivers: hv: balloon: don't crash when memory is added in non-sorted orderdrivers/hv/hv_balloon.c+2 -20 replies
2/2Drivers: hv: balloon: reset host_specified_ha_regiondrivers/hv/hv_balloon.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Drivers: hv: balloon: two memory hotplug fixes

Hi,

I found an issue (crash) while testing memory hotplug on WS2016TP4 host. It should be easily reproducible with the following test sequence
(4.6-rc2):

1) Start a VM with 4 vCPUs in 4 NUMA nodes, 4096Mb of RAM.
2) Enable memory auto onlining with
'echo online > /sys/devices/system/memory/auto_online_blocks'
3) Wait till hv_balloon driver finishes negotiation.
4) Increase memory to 8192Mb.
5) Increase memory to 10000Mb.

The first patch in the series fixes the issue. While writing it I stumbled upon an unrelated issue which I fix with PATCH 2.

Please review.

Vitaly Kuznetsov (2):
Drivers: hv: balloon: don't crash when memory is added in non-sorted
order
Drivers: hv: balloon: reset host_specified_ha_region

 drivers/hv/hv_balloon.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.5.5