From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbdJXO6S (ORCPT ); Tue, 24 Oct 2017 10:58:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:33962 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751409AbdJXO6O (ORCPT ); Tue, 24 Oct 2017 10:58:14 -0400 Subject: Re: [PATCH] xen: fix booting ballooned down hvm guest To: Boris Ostrovsky , linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Cc: hw42@ipsumj.de, stable@vger.kernel.org References: <20171024081050.2441-1-jgross@suse.com> <554ab545-5e74-29c8-0eb7-5db1dcbeb6bb@oracle.com> <8b419db3-8753-be6c-c938-1e2adb210770@oracle.com> From: Juergen Gross Message-ID: <5c91d54b-be9a-b454-bf76-d7d10159f1a2@suse.com> Date: Tue, 24 Oct 2017 16:58:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <8b419db3-8753-be6c-c938-1e2adb210770@oracle.com> Content-Type: text/plain; charset=windows-1252 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/10/17 16:56, Boris Ostrovsky wrote: > On 10/24/2017 10:41 AM, Juergen Gross wrote: >> On 24/10/17 16:33, Boris Ostrovsky wrote: >>> On 10/24/2017 04:10 AM, Juergen Gross wrote: >>>> Commit 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't >>>> online new memory initially") introduced a regression when booting a >>>> HVM domain with memory less than mem-max: instead of ballooning down >>>> immediately the system would try to use the memory up to mem-max >>>> resulting in Xen crashing the domain. >>>> >>>> For HVM domains the current size will be reflected in Xenstore node >>>> memory/static-max instead of memory/target. >>>> >>>> Additionally we have to trigger the ballooning process at once. >>>> >>>> Cc: # 4.13 >>>> Fixes: 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't >>>> online new memory initially") >>>> >>>> Suggested-by: Boris Ostrovsky >>>> Signed-off-by: Juergen Gross >>> Reported-by: HW42 >> Hmm, is an anonymous Reported-by: tag okay? > > Oh, I don't know what the rules are for this kind of address. I'd > probably still add it but it's up to you. The docs say each tag should be: tag: Full Name optional-other-stuff I don't think HW42 can be regarded to be a full name. Juergen