Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3969076pxu; Wed, 9 Dec 2020 05:22:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxG6TSH7kdkhC/bUEeuEIaEphCpDYbYSGFxpoNcJTrV4cRGJqK6m4kA6aVlGZeqFzp/+NLm X-Received: by 2002:a50:b765:: with SMTP id g92mr1347911ede.317.1607520124390; Wed, 09 Dec 2020 05:22:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607520124; cv=none; d=google.com; s=arc-20160816; b=iagyuXJuA66qnEVP86/TCmuyOzhHNi5J64FWJQuNuYBw08KDLfpmIT9BAVppMgIrgR QnbnZADCUiMXUwmEpsrU3R15WNigHPiGg+slhRk3vdCP1mpSLwHtcnNzPKuLyiAWRkUw yf7gI0reDtTLWJ5HM0zhV+eUOX6hPmWL0GC7+k95kUHVVGD9kT1x40yzV6dz+uVeIXFu xlSi2uaPmIb0Wl9PmL681mbIDno8ZGuXPWeWVgCajT/KXROgmMrPDWT1Y8AIKxkmg8vZ SsDZo9GNf7lfcWe37jeVGahZY503omYf8/1pWiBHtfedQb06hnuFOj/wiw7IKPP6VWH0 hUPQ== 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=BDEwH2poPEgF9/H6H1mvb3OMGZ5ivX5NVZHxhkZl44A=; b=SwSJ7RSihigWvwpWpa0B38ljolyh9JmKs+dAfmCEi7s1AiJtAQnQivUYzWFqt1KO41 SSQ0CkPr4+vrybO96rELKFrwIpGjVLJcP1+yO82fn69cyPYo6aqyXxyG7fB4tN4BljW+ dFBy5WbWqibkub0KCAiKEq9xhpWaFRBZ3VuFaaCVZWaperMwM5P+G2kDDie79zJH8oHZ rx3r5J1uQ4FA9D6Xsk7sFYWP+LWJVNO7RkuZzl2yPNXOQwLpC9Rnw0l8Ad5vufDA/CVV Jtw6FtfoPrYEsboC1MFwLtC600fHHyo1VomgtudJirpIfj7bAy7uFwkEv2JkUqE0U5/q voDQ== 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 v1si695790ejf.162.2020.12.09.05.21.40; Wed, 09 Dec 2020 05:22:04 -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; 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 S1732029AbgLINSM (ORCPT + 99 others); Wed, 9 Dec 2020 08:18:12 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34882 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731919AbgLINSD (ORCPT ); Wed, 9 Dec 2020 08:18:03 -0500 Received: by mail-wr1-f67.google.com with SMTP id r3so1721399wrt.2; Wed, 09 Dec 2020 05:17:46 -0800 (PST) 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=BDEwH2poPEgF9/H6H1mvb3OMGZ5ivX5NVZHxhkZl44A=; b=paXBdYjGsAIcZgC7vXuDD9jsq3p0Xx7oCMYp0wwtS+5K3dMR5+zBbs7avzxffDSP0Q iQyvQUAdDVvNqXuymQLCXYPOPJyWhQi6Y51CMsemDk0Uh4O+7m0YyWUHsZj21LpCN5g5 VRf71c3cESKm6WqSGv36udH5DAzuuEIH/zWX8WrWiZfcEZ/TprOeV6quMZkz0INZMWra eRG2mewAKeYvlSCVCOICLV6i/DybH1zjXSHAGUotKT24lV+gb8K+8qru6+VW+etlA9ha FFaiInEq4binK4di1uuiRYQYNl0cJgE2+nJ6YDGvUwyRxTGb+t4mue1EEuuF14gBgRDI 13jg== X-Gm-Message-State: AOAM531OxxeHEPwdXcC0szegMNpHkticOI0l1Pp6Ebiez66DUf+7JDZT kwQCCBOB2yfkV27Il5AjZ88= X-Received: by 2002:a5d:5147:: with SMTP id u7mr2726692wrt.114.1607519841005; Wed, 09 Dec 2020 05:17:21 -0800 (PST) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id b14sm3439908wrx.77.2020.12.09.05.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Dec 2020 05:17:20 -0800 (PST) Date: Wed, 9 Dec 2020 13:17:18 +0000 From: Wei Liu To: Vitaly Kuznetsov Cc: linux-hyperv@vger.kernel.org, Wei Liu , Stephen Hemminger , Haiyang Zhang , Michael Kelley , Dexuan Cui , David Hildenbrand , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 0/2] hv_balloon: hide ballooned out memory in stats Message-ID: <20201209131718.aqy6uddgqivgiglj@liuwe-devbox-debian-v2> References: <20201202161245.2406143-1-vkuznets@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201202161245.2406143-1-vkuznets@redhat.com> User-Agent: NeoMutt/20180716 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2020 at 05:12:43PM +0100, Vitaly Kuznetsov wrote: > It was noticed that 'free' information on a Hyper-V guest reports ballooned > out memory in 'total' and this contradicts what other ballooning drivers > (e.g. virtio-balloon/virtio-mem/xen balloon) do. > > Vitaly Kuznetsov (2): > hv_balloon: simplify math in alloc_balloon_pages() > hv_balloon: do adjust_managed_page_count() when > ballooning/un-ballooning LGTM. I will wait for a few more days before applying this series to hyperv-next. Wei.