Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3850948pxb; Tue, 17 Nov 2020 05:22:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzolaX2tE0mJH3JqHDXHOn22uvqaYA1CLSxwe7uMzE5zRY2pQaPDSIYttTDCsdMujYqPhkg X-Received: by 2002:a17:906:2683:: with SMTP id t3mr20001136ejc.414.1605619376582; Tue, 17 Nov 2020 05:22:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605619376; cv=none; d=google.com; s=arc-20160816; b=QGOdZ5kb5DuIi62Ws9bvwcO5lfx3I0KT/QijeXZIbR2CLlWUvqNwgzXWDWQty0Ymfr r6XKiSxAM2IvI1cQtPtIFqFbZxhiIjVTcNcB1KpIlmTL0w/2EvFmhi6KepqshcHheCgM MNBgmYmqgz/+QG/d/LMAzf2aiZ4cE5Yrf3nFGuSR34/OYjHgwtZdxbORkPIAaHcm65QV g5u3LTsFRzij0c2EFlneCJFnLzhAnLhbo3TX1scXXB1rCsjSJFxUpxTG1vE1VGYAEMzy N/ymE4PeJcNRmfvwAirKg6N6G2ntEuUPqFuIDMGQ2dnMMJ6+yJy1XgDPBeYVsXLKbByb bD3g== 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=itE+hDIIxga6VaMNpMM3CpKf8trL6WUwXB9qmyLxpKM=; b=CNjCzrYdjhswoZKeVXrMdEHMOS3NlB90A2jZ9uIM59HZEcAvnEvMusG9Rysg2I6cqg xdj7GCv5gZ6Y78eWtiNUFlzz7/BY+QqldLrsy/n3kGt8BOpAuVLNFUJjpK65JriDF0U+ dqF7QsxkElpP1LN6D1sAlRKJwJYtSuv72/fHJdQ82Kww7KVfogH18jStFsWAxZTdxW+w B1f1vWPmZLg8yEfgcfVCiIu5xcaYfREMS6nrkVv59bd6kigUu9+WzPKIiEMwGoSoqhqI sZPLqntLRd1C3fTwsthKdisj0eLyzvw4BXTpwGPLE7eszJM91kZ4T5mHfMnHvFgRSOdp u86Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eKEgLoQR; 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 q1si13982003edc.21.2020.11.17.05.22.33; Tue, 17 Nov 2020 05:22:56 -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=eKEgLoQR; 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 S1730668AbgKQNSX (ORCPT + 99 others); Tue, 17 Nov 2020 08:18:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:50704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730129AbgKQNSR (ORCPT ); Tue, 17 Nov 2020 08:18:17 -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 326C5206D5; Tue, 17 Nov 2020 13:18:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605619096; bh=bqpHObbJ090xM+SmrGUKYDDJv7QDnCajvOALt3Cm7+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eKEgLoQRbzAWI8Luuk9wGoNnstVyjZLpeo/ktHD/lWDThMW5HR1OYcXAbkZ8xC611 G73ts0LYLHG3b7l4pQpUhk+3C3VVzAur6DNZm/ufwtbrrmDex+SIPjnF0gDF/JkWqv gCA2rMbGMzf/41b/mw727gSLAyqzNB5kH2USEi5s= 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.19 009/101] hv_balloon: disable warning when floor reached Date: Tue, 17 Nov 2020 14:04:36 +0100 Message-Id: <20201117122113.557753779@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201117122113.128215851@linuxfoundation.org> References: <20201117122113.128215851@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 9ca0706a9d402..e5fc719a34e70 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c @@ -1275,7 +1275,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