Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752498AbbG0KSs (ORCPT ); Mon, 27 Jul 2015 06:18:48 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:52571 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbbG0KSr (ORCPT ); Mon, 27 Jul 2015 06:18:47 -0400 X-IronPort-AV: E=Sophos;i="5.15,552,1432598400"; d="scan'208";a="287852159" Message-ID: <55B60583.3010903@citrix.com> Date: Mon, 27 Jul 2015 11:18:43 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk , David Vrabel CC: , Boris Ostrovsky , Daniel Kiper , , Subject: Re: [Xen-devel] [PATCHv2 08/10] xen/balloon: use hotplugged pages for foreign mappings etc. References: <1437738468-24110-1-git-send-email-david.vrabel@citrix.com> <1437738468-24110-9-git-send-email-david.vrabel@citrix.com> <20150724185545.GD12824@l.oracle.com> In-Reply-To: <20150724185545.GD12824@l.oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 977 Lines: 24 On 24/07/15 19:55, Konrad Rzeszutek Wilk wrote: > On Fri, Jul 24, 2015 at 12:47:46PM +0100, David Vrabel wrote: >> alloc_xenballooned_pages() is used to get ballooned pages to back >> foreign mappings etc. Instead of having to balloon out real pages, >> use (if supported) hotplugged memory. >> >> This makes more memory available to the guest and reduces >> fragmentation in the p2m. >> >> If userspace is lacking a udev rule (or similar) to online hotplugged > > Is that udev rule already in distros? Not all, which makes me think that this behaviour should be enabled by userspace (via a module parameter). This would also allow me to drop the timeout and fallback path which I put in to handle the no udev rule case. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/