From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754639AbbCYSCN (ORCPT ); Wed, 25 Mar 2015 14:02:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59176 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753710AbbCYSCI (ORCPT ); Wed, 25 Mar 2015 14:02:08 -0400 From: Vitaly Kuznetsov To: "K. Y. Srinivasan" Cc: Haiyang Zhang , devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, Dexuan Cui Subject: [PATCH 0/1] Drivers: hv: hv_balloon: do not online pages in offline blocks Date: Wed, 25 Mar 2015 19:01:59 +0100 Message-Id: <1427306520-32463-1-git-send-email-vkuznets@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1/1 is rather a hackaround. The root cause of the issue is the fact that we're adding not fully backed memory blocks and allow to online them. It is relatively easy to forbid that and add only fully backed 128Mb regions. The whole driver code will be much simpler: hv_bring_pgs_online() and hv_online_page() will go away, ha_region_mutex won't probably be required,... Please let me know if you think I should follow this way. Vitaly Kuznetsov (1): Drivers: hv: hv_balloon: do not online pages in offline blocks drivers/hv/hv_balloon.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) -- 1.9.3