Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp987097pxu; Wed, 2 Dec 2020 08:16:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJwrETfFho8GSAPPK//GOPDZozd3Cz0wrH+fqcAdR/BI/Uc76s8Dvb+KPS584hS6VHRancap X-Received: by 2002:a17:907:961b:: with SMTP id gb27mr465141ejc.313.1606925775876; Wed, 02 Dec 2020 08:16:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606925775; cv=none; d=google.com; s=arc-20160816; b=DxaKWw493eIppxBXY+4YNbha3HveshdSr1UqAE1Bsu3Du5cLyqhU3/c5AvYFqdKciY ghQDyWnvSEcDWBGDKFtYHWPG6CFxXQ1pGjw5FCN74d0vuCK2hq7p9GB840P16v9f99Ie A32uV9bF+OUz+2TGH4CrAtcO6XQ0Xp6xy2kGYpPMLcAYVdpJn9RqnBL4tkCTHhaXYsAP Ma5hrllOklYeOqnx5rsM2C8m8HDJ6FYVf106uKE7Dp0jB3rpPkdIyRpcEcex1hNrG/4R E/A3zI2LM69SAzOVQ43O1p06wyiQFZC8W8DgWVBlr6An4Kl/iAljml235GW2thS621ND kXgw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=mnMzbDEpi77RtO/Ws+e06k7eBfAFFroo39MhnBjLVjQ=; b=J/ZZCF+LRmo6McAPq85wEbB/VAeAZiZq0E7AC92iib9MY6xluds1JCF0izhyYKg+qK P/rj9d5l1TNzz+1JGef893kUTjgNFl5jFJZuUBvYCH3dROzP6icMbCekV9zC82qUsNjV fM0nE1PX5xutirlWKRk17uEp7KaCAaz7WBstVEVnmLUuUDiMgSRof1nxKI+PAfYFYFL3 ldG49D7yN6zERt5wxa2AdNVJ2XaA6k9fAV4Wrz4Rg+Jafd1ThENhwc9A/TKqX8+FmDdY C38bSdehRCZ6oCuiEdO3TOtQyngg1/K7oWRSaGvzGxoopLzcJ29c9XYLbTx5TppadYSr 291Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PbyxQDHZ; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si233251edt.290.2020.12.02.08.15.50; Wed, 02 Dec 2020 08:16:15 -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=@redhat.com header.s=mimecast20190719 header.b=PbyxQDHZ; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730656AbgLBQOY (ORCPT + 99 others); Wed, 2 Dec 2020 11:14:24 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:42026 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730567AbgLBQOX (ORCPT ); Wed, 2 Dec 2020 11:14:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606925577; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=mnMzbDEpi77RtO/Ws+e06k7eBfAFFroo39MhnBjLVjQ=; b=PbyxQDHZCA+dazSpK32DWzmgr6w7zboDtQ54vzIkvk2fK6wzHEIvVvDbJ4A7NuwsLxC9Tg TU0Bv7KwVOPgsxK01FYLlF0FG+MkfbDqofC5M02TesjvzbGicdjCZT3mUyZ6PtD1dQ+mAd pw0uTYCN0UC3kkLHWrq4P0YVuHsczZE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-37-e9LXZ4EmN-280v1-3L1PrQ-1; Wed, 02 Dec 2020 11:12:54 -0500 X-MC-Unique: e9LXZ4EmN-280v1-3L1PrQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 10EE6185E4A6; Wed, 2 Dec 2020 16:12:52 +0000 (UTC) Received: from vitty.brq.redhat.com (unknown [10.40.192.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7EDE75C1D0; Wed, 2 Dec 2020 16:12:46 +0000 (UTC) From: Vitaly Kuznetsov To: linux-hyperv@vger.kernel.org Cc: Wei Liu , Stephen Hemminger , Haiyang Zhang , Michael Kelley , Dexuan Cui , David Hildenbrand , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/2] hv_balloon: hide ballooned out memory in stats Date: Wed, 2 Dec 2020 17:12:43 +0100 Message-Id: <20201202161245.2406143-1-vkuznets@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 drivers/hv/hv_balloon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.26.2