[PATCH v3 0/4] Drivers: hv: balloon: fix WS2012 memory hotplug issues and do some cleanup
From: Vitaly Kuznetsov
Date: Tue Aug 16 2016 - 09:47:45 EST
Changes since v2:
- check for gaps when onlining 'tails' in hv_bring_pgs_online() too [Alex Ng]
Changes since v1:
- Keep ol_waitevent and wait when kernel memory onlining is disabled [Alex Ng]
Crashes with Hyper-V balloon driver are reported with WS2012 (non-R2),
hosts I was able to identify two issues which I fix with first two patches
of this series. Patches 3 removes wait on ol_waitevent when we have in
in-kernel memory onlining, patch 4 gets rid of ha_region_mutex by doing
the locking fine-grained with a spinlock.
Vitaly Kuznetsov (4):
Drivers: hv: balloon: keep track of where ha_region starts
Drivers: hv: balloon: account for gaps in hot add regions
Drivers: hv: balloon: don't wait for ol_waitevent when
memhp_auto_online is enabled
Drivers: hv: balloon: replace ha_region_mutex with spinlock
drivers/hv/hv_balloon.c | 241 +++++++++++++++++++++++++++++++-----------------
1 file changed, 156 insertions(+), 85 deletions(-)
--
2.7.4