Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4946209ybb; Tue, 24 Mar 2020 08:10:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuJ+HmM3pFvlyeXWmg/tQavK0GvPuofdEBUadlUDeEjuH3Gl0p//cx6PudTqzk3aS5okuUS X-Received: by 2002:aca:534d:: with SMTP id h74mr3528401oib.173.1585062622391; Tue, 24 Mar 2020 08:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585062622; cv=none; d=google.com; s=arc-20160816; b=qCWY8bgcmLJ/J/AnjcvpSGQxEoxFSyh36r67p04R2yVCNzZjIBTz0EAXXUvSadiqR+ 6yNGdrWyS599Yn/NcCUeHxTQrBs7aRGeoQhaftMALG5BT9uW31j5vC1WCc7yK9U1owKn 9rNgQr0XPSOc/RDsY9Pdv7ygIhHWYoXUrqa4LdzvM+hFcmqCt5SwnECY7hPM7aO5u6jk Lq+5xeQnypmLPj7s5B4jWfAtxMZztWLN/P0gsBoQ0JNHBfWg9veiifz41rV+hQdtIj4d V4PoVQ3/Vy3Wu1cG/ezIG12Oin05l7KXUkhJc/6dn2Vfowwj+35+n4Lklhb+hnrd8kAS DfLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IuT7/shV06LvBS7EgjHWqOot2mAlziTdo+TBzhY2tQg=; b=UW8xytZgp56y0LodCxZuzuh1gr3LMoQL+G/vr2MGJaUhwdIjXGhEBtXnkquwHRHerz Mtr6E4ctlyhRMyFHhlkINoOZojt0nRUT3H05j1OkqoMM8kYxN3lXlrcZB1G0zbJ3HgVc AbSSDhR/twNWeafXvTKEiJqHFXqdwasiZCY+Xlk4pd7+VBuWOodJ28CoeAACMAtJ6GE2 +rm+W15BnwsfJKqSM9WQQF/HNqvTRXG4ayCLbfAk/tZ5OjNW6z78AYwNdSFVMlgFiqZg fPfspKcHKFFe6CTvux9fxrqvPhLXsOBUHFlu8pNCq6m1JO2koHcrBxVVG6Zr1dT6l4Bd JmBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d145si8666705oig.261.2020.03.24.08.10.08; Tue, 24 Mar 2020 08:10:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727699AbgCXPJi (ORCPT + 99 others); Tue, 24 Mar 2020 11:09:38 -0400 Received: from mx2.suse.de ([195.135.220.15]:47802 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727567AbgCXPJh (ORCPT ); Tue, 24 Mar 2020 11:09:37 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 42C1FAC22; Tue, 24 Mar 2020 15:09:36 +0000 (UTC) Subject: Re: [PATCH 2/2] xen: enable BALLOON_MEMORY_HOTPLUG by default To: Roger Pau Monne , linux-kernel@vger.kernel.org Cc: Ian Jackson , Boris Ostrovsky , Stefano Stabellini , xen-devel@lists.xenproject.org References: <20200324150015.50496-1-roger.pau@citrix.com> <20200324150015.50496-2-roger.pau@citrix.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: Date: Tue, 24 Mar 2020 16:09:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200324150015.50496-2-roger.pau@citrix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24.03.20 16:00, Roger Pau Monne wrote: > Without it a PVH dom0 is mostly useless, as it would balloon down huge > amounts of RAM in order get physical address space to map foreign > memory and grants, ultimately leading to an out of memory situation. > > Such option is also needed for HVM or PVH driver domains, since they > also require mapping grants into physical memory regions. > > Suggested-by: Ian Jackson > Signed-off-by: Roger Pau Monné > --- > Cc: Boris Ostrovsky > Cc: Juergen Gross > Cc: Stefano Stabellini > Cc: xen-devel@lists.xenproject.org > --- > drivers/xen/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig > index 57ddd6f4b729..c344bcffd89d 100644 > --- a/drivers/xen/Kconfig > +++ b/drivers/xen/Kconfig > @@ -13,6 +13,7 @@ config XEN_BALLOON > config XEN_BALLOON_MEMORY_HOTPLUG > bool "Memory hotplug support for Xen balloon driver" > depends on XEN_BALLOON && MEMORY_HOTPLUG > + default y > help > Memory hotplug support for Xen balloon driver allows expanding memory > available for the system above limit declared at system startup. > Another variant would be to set: default XEN_BACKEND This would match the reasoning for switching it on. Either way would be fine with me, so you can add Reviewed-by: Juergen Gross Juergen