From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752461AbcHKMr4 (ORCPT ); Thu, 11 Aug 2016 08:47:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38382 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752203AbcHKMrx (ORCPT ); Thu, 11 Aug 2016 08:47:53 -0400 From: Vitaly Kuznetsov To: devel@linuxdriverproject.org Cc: linux-kernel@vger.kernel.org, "K. Y. Srinivasan" , Haiyang Zhang , Alex Ng Subject: [PATCH v2 RESEND 0/4] Drivers: hv: balloon: fix WS2012 memory hotplug issues and do some cleanup Date: Thu, 11 Aug 2016 14:47:46 +0200 Message-Id: <1470919670-23063-1-git-send-email-vkuznets@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 11 Aug 2016 12:47:53 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changes since v2: - I'm sorry, I screwed up Alex's address, this is just a resend. 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 | 216 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 144 insertions(+), 72 deletions(-) -- 2.7.4