From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753627AbbG3RES (ORCPT ); Thu, 30 Jul 2015 13:04:18 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:26248 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750734AbbG3REQ (ORCPT ); Thu, 30 Jul 2015 13:04:16 -0400 X-IronPort-AV: E=Sophos;i="5.15,577,1432598400"; d="scan'208";a="289438766" From: David Vrabel To: , CC: David Vrabel , , "Konrad Rzeszutek Wilk" , Boris Ostrovsky , Daniel Kiper Subject: [PATCHv3 00/10] mm, xen/balloon: memory hotplug improvements Date: Thu, 30 Jul 2015 18:03:02 +0100 Message-ID: <1438275792-5726-1-git-send-email-david.vrabel@citrix.com> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series improves the use of hotplug memory in the Xen balloon driver. - Reliably find a non-conflicting location for the hotplugged memory (this fixes memory hotplug in a number of cases, particularly in dom0). - Use hotplugged memory for alloc_xenballooned_pages() (keeping more memory available for the domain and reducing fragmentation of the p2m). Changes in v3: - xen.balloon.hotplug_unpopulated sysctl to enable using hotplug to provide unpopulated (ballooned) pages. - Fix xen_alloc_p2m_entry() for auto-translated guests. Changes in v2: - New BP_WAIT state to signal the balloon process to wait for userspace to online the new memory. - Preallocate P2M entries in alloc_xenballooned_pages() so they do not need allocated later (in a context where GFP_KERNEL allocations are not possible). David