Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3879990pxb; Tue, 17 Nov 2020 06:05:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYqEnbXtFzqippQZmGaGm043j2lB09w+pbwRLEJ6jayijXXzm689+U7l1lg3W0Qklmrdzv X-Received: by 2002:a05:6402:1c0c:: with SMTP id ck12mr21300905edb.327.1605621929892; Tue, 17 Nov 2020 06:05:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605621929; cv=none; d=google.com; s=arc-20160816; b=a/fpY/YMz3fUup5aou1G2DYQYcWHcqEgWsUH2ZGizBgGEv+03LipdPLytFL+u2NLSu Gr0CPx2r+mmsqEFI8887+l72M/1HVveAh7d7//77ayE2GR+2wx7ptDvzXMBYTeELNLG7 kKmAMjggPWJNsIhdyqtUM6av7UAjxK8+GG3jqBf/PZW8gpchhzSsVOU/hNiKdR7Jbx5K Tf8SZyNeh202rmtry6luhU79zX4l6Ec2NjBYyCZYwyscR7765yLbDPDqaO8kQmCuhxUi ofU0tKhtjwU3InLT8yqLSWaPYKGXHhYyXQgo+8iGNSc/4+LEPLcbsK3MIXDc53aljFIM WYSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+7m67oheHWwfGaqjzyeHOO2zH3MLA3EXRjfYhgcQe1M=; b=RgeTB/+jkc+DiRbtkWbaJ6m2D+tDzyzfQzLz1ULcRYjZWfn6sLLCFisQKndYaTPnHh 5vtP/DgF4dz7WHVO9JbhAhZcUYggRFcBVP01mcdtX/DYjLgUxZCaa/DI0j9Svy8JSg8J H3QRqBXOwKmYM7llqLiLjBwVUmX6TtjiA+jtNhOxLCObGUTSk9eS4Qlb+j8nH3SP6DGP 57cmeEhk8SAd3+eho8Vt0FBuLyBtPWimsdYCW+2lQpaf7iVpS/9U8T5Z8FirkTqRyyt9 /styzilFrlzEwxY70cXC5yarcgCPQNG+0DdOSOxLgjzVdp899xvGWjEhsL8Z+2ALyOvZ qDaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Tx2+RjeG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z2si13056778ejr.636.2020.11.17.06.04.59; Tue, 17 Nov 2020 06:05:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Tx2+RjeG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731230AbgKQOAi (ORCPT + 99 others); Tue, 17 Nov 2020 09:00:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:45536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730080AbgKQNOj (ORCPT ); Tue, 17 Nov 2020 08:14:39 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FBBD2151B; Tue, 17 Nov 2020 13:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605618878; bh=53sPOCqyjTZ6q84/GUmPpLFon1FCsXnOcN22XZ9LvNw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tx2+RjeGdtvnaAnW1gyT+R0NIkGKCa7OSRQ9X8s4sIxou4xoYIIWGAbd1C4GS2OGx N8PsAQaLPm33h+76SHJzrEP7jLTxlzNseEsfQ8Z049qzVWyKCKHiVkk1aAdo0sMaQp Zz6mCKEQGDy6SGrQVwuYa6HE+gTBAnhyNxFUADB0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Olaf Hering , Michael Kelley , Wei Liu , Sasha Levin Subject: [PATCH 4.14 09/85] hv_balloon: disable warning when floor reached Date: Tue, 17 Nov 2020 14:04:38 +0100 Message-Id: <20201117122111.483455983@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122111.018425544@linuxfoundation.org> References: <20201117122111.018425544@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Olaf Hering [ Upstream commit 2c3bd2a5c86fe744e8377733c5e511a5ca1e14f5 ] It is not an error if the host requests to balloon down, but the VM refuses to do so. Without this change a warning is logged in dmesg every five minutes. Fixes: b3bb97b8a49f3 ("Drivers: hv: balloon: Add logging for dynamic memory operations") Signed-off-by: Olaf Hering Reviewed-by: Michael Kelley Link: https://lore.kernel.org/r/20201008071216.16554-1-olaf@aepfle.de Signed-off-by: Wei Liu Signed-off-by: Sasha Levin --- drivers/hv/hv_balloon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index 2d93c8f454bcc..423754cc6c303 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c @@ -1230,7 +1230,7 @@ static void balloon_up(struct work_struct *dummy) /* Refuse to balloon below the floor. */ if (avail_pages < num_pages || avail_pages - num_pages < floor) { - pr_warn("Balloon request will be partially fulfilled. %s\n", + pr_info("Balloon request will be partially fulfilled. %s\n", avail_pages < num_pages ? "Not enough memory." : "Balloon floor reached."); -- 2.27.0