Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3648459pxu; Mon, 19 Oct 2020 18:26:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoye4d0c66dadXcatpQdP21CnCqCwLMa4KWsGQh4HKlIaoQpl8qWNjOwrXEnQKp36Uaki6 X-Received: by 2002:a17:906:3092:: with SMTP id 18mr660087ejv.43.1603157177780; Mon, 19 Oct 2020 18:26:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603157177; cv=none; d=google.com; s=arc-20160816; b=fwaUO7C1kvuwTEN4hl6zE/iUMWMzffCFMSQAu0YmBGKJPGYVm++CSibMZ+n6+U4Wql +Z15sg+gqnvho1k7szzzpE5+OkmDmEkurx29ne/e20kHvu++o9/HYNtTLKLG9YtK9vcL RLluywBgc8ItFs1o33E9Ljjcq4ltrvcaQu6XEaP+ZbzT+0Cz5IMISO2WwMVdx1fftygK FQhlJnJ9BNIB1NOjs63GL/RX9ziEzxlsCHREhsto9vGt36hPnwT5iUIfQ+zan5nmrXHv mid6oKBoldTKJOpBzHxiOISKT+3Fwzz1xBV0L5V0Jz2a+2xaMo+PlVtf3QXeJ72FvyhM y41A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=wSpB2OFgBLfQuSAeovcxEvz3XNecpxTvXJc2PkeLsE4=; b=TGbqBBE8FoTemUjcnmk04YiBMSf7Wl91xLYvHV0YkmO5Is6kTuQg5bw/aknKNMIqJf CYev1YNBDo7SmQe6TIBA9gqcwKtma1OBUaHKGyZ5NUmh5L53x640VxyrS1h74BEDkq5y KATbisMxULLUeXymNWyjRsnYyUMC2JMY0BBLwaWAVfMeBts78H/VAcWcVaiBQ2rUMNZq CWMJZoCi4xwRlT2+PxMQsiNslGXOHHr04MrpxMJgQbwcwOx4yfQMHWVa7d/Tw0E+2vu0 SHkxOCGEawCpLUTbh95s4d/uRPS6zz0IegrkEwCdnWpk5XlY9s9LZpsV1QOf4PoceFha NPIA== ARC-Authentication-Results: i=1; mx.google.com; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n9si116758edy.248.2020.10.19.18.25.24; Mon, 19 Oct 2020 18:26:17 -0700 (PDT) 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; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728477AbgJSNmN (ORCPT + 99 others); Mon, 19 Oct 2020 09:42:13 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:34931 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727297AbgJSNmM (ORCPT ); Mon, 19 Oct 2020 09:42:12 -0400 Received: by mail-wm1-f67.google.com with SMTP id q5so12936128wmq.0; Mon, 19 Oct 2020 06:42:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wSpB2OFgBLfQuSAeovcxEvz3XNecpxTvXJc2PkeLsE4=; b=GpyzoYYtQ52mAoPEgrG0fPsWbNCyRvY7DHPipAQnU721AIA9dHOlE3GArA4eoiZDYE WRdQ5WXNZA4Q6cPp/Di09z9pzbctN53erhBV95p+gesSS2w7KFMrxPtjSZ9kVskDk3AM Ujme+GqdDzo/vSGBFOmTNVYSASYjPH0XsxkBB7w8dIIMZvxEHAFSJmu14aDwHQruMCA0 8QjsbeHiPSo94AhkMZRO5G91B3/l2yD/eGl7eZea2XhrV+YCQ6ZTEcsumFM2afpxwlVf WNaKcQqCXi68LpscNrOQhY/2M5lKCzkaYo/ZAFk7lamuMeYaYCLrtOCy0pL1J9iYLfyP NmxQ== X-Gm-Message-State: AOAM5338Ev1CMscXok3d8YlwAGCCDm2689IC9zDoxDmYIDBkTkiBCnze k3zwNYtvPxl/1dnYS79yPl02lgVqKwg= X-Received: by 2002:a1c:c906:: with SMTP id f6mr18528123wmb.9.1603114931205; Mon, 19 Oct 2020 06:42:11 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id g83sm81381wmf.15.2020.10.19.06.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Oct 2020 06:42:10 -0700 (PDT) Date: Mon, 19 Oct 2020 13:42:09 +0000 From: Wei Liu To: Michael Kelley Cc: Olaf Hering , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu Subject: Re: [PATCH v1] hv_balloon: disable warning when floor reached Message-ID: <20201019134209.fgjlip52k5xayr2w@liuwe-devbox-debian-v2> References: <20201008071216.16554-1-olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 19, 2020 at 03:02:22AM +0000, Michael Kelley wrote: > From: Olaf Hering Sent: Thursday, October 8, 2020 12:12 AM > > > > It is not an error if a the host requests to balloon down, but the VM > > Spurious word "a" > > > refuses to do so. Without this change a warning is logged in dmesg > > every five minutes. > > > > Fixes commit b3bb97b8a49f3 > > This "Fixes" line isn't formatted correctly. Should be: > > Fixes: b3bb97b8a49f3 ("Drivers: hv: balloon: Add logging for dynamic memory operations") > > > > > Signed-off-by: Olaf Hering > > --- > > 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 32e3bc0aa665..0f50295d0214 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."); > > > > Above nits notwithstanding, > > Reviewed-by: Michael Kelley Thanks. I see one for and no against so far. I've applied this patch to hyperv-fixes. I also fixed those nits while at it. Wei.