Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp602635rwb; Fri, 2 Sep 2022 21:59:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fYWBf1q51NNpOKEdocz17VXRk/74hpDzT0oexC/CoQ5PaVVPhFSESwZ6K2E1XDTO7SuPZ X-Received: by 2002:a17:907:a053:b0:741:698d:4e40 with SMTP id gz19-20020a170907a05300b00741698d4e40mr20164491ejc.616.1662181188342; Fri, 02 Sep 2022 21:59:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662181188; cv=pass; d=google.com; s=arc-20160816; b=L3B28PeMCZj4n8v4aSA1rA/H18ZBYyAg+n6wwFBEb/NOVSl8XOFBF2c5aBwzLSxV0n 78QutMuVXZwe+83CFQbpAbzmTIguwm6nEmnOFclkqf6WRi1LpRS5bwm5AhZFuLv2C5Sw F67XMERq8Ap4u0Q3DH3HrG7LS41YYenqS3/qTQfm61py+IS/yPW4Eu2gNRkMWH00SRGf ElO8PL9BrUjxVjgHYraedNUbqmVDBPRqBDN/ddbiDRtoOFOUQRA/JACW7BTEdejgK3ow hiRpt4TLvdkfUO5TJMFTmOS4CCAFs8SVvDbjX0a6L4haYPD3Pt6r86SIBAHvqoUgI/1u AUXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=/SbM9PqjxEDz3WXybyaTEV9MR6pxMSgH1vBUYSpBP/Q=; b=TkYJ4WclYz4nOmDaWQpxzqe2T70SjYASIkCMhufFk+55R7nZzBe8cUVWUJALg1IWVX UjXgmdPVwZPO7aEfn/2LZ2Daht26i+6nQJ0Ad1tPeBMwyKbWoxzTJmBOQnxMzaKLF3oI +Iq6PJW9UeHYgftBhRNxY18k5nRPqViJ7TwAhcfs2z7DeZapCwL+BOl91FmSVIh5OnRu KBPR75lLPeWuypaMUCZqrZNRxd8DhBQaujQDqcRfyY1VuEoeVWKK6rWETPvP/ZdPTvtt ZGAb6Fe3qmRqnsoil5OFFRLnGnD/KG5tEsCfjshmPSvyh/B3Wt0/b/hXVh49FGyJLsDH 0wig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=AdDsfoBP; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z2-20020aa7cf82000000b004477847accfsi2794764edx.264.2022.09.02.21.59.14; Fri, 02 Sep 2022 21:59:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=AdDsfoBP; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231882AbiICEiY (ORCPT + 99 others); Sat, 3 Sep 2022 00:38:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231886AbiICEiU (ORCPT ); Sat, 3 Sep 2022 00:38:20 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-cusazon11020016.outbound.protection.outlook.com [52.101.61.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A847F8ED6; Fri, 2 Sep 2022 21:38:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UCGKkNzmDsa3VtWTRKWBimlf93K8SNYX4V9MsdbudCxNf5ionz0BqMHrHflc85HdY8RO7ZHJRQFgPVgfTzK3IVQdMeO5egcIoC5W+uAsUMIAiKBmrvrQIydRQmQRxRWad7h5PIw276kcrf6bNjkjxNYgSzpQRmDPlkWuOSR6nVTehfaxF31VtrPDNfyZdfciV4nQtDBYAc/s9x1PsWEpZL9Cs/+W/R8lt8MKLrKM4h8RrLB5hgk6IFekoiMuVCe7p/JSsbzk9sRSE8pqPJP+ipeE2aBzlGGirPnfvP4tpY3d2wck/q2WDog938BsyVs2klsWg2bknXkNlh05D+E1Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/SbM9PqjxEDz3WXybyaTEV9MR6pxMSgH1vBUYSpBP/Q=; b=B6EBS0YkVEsnfuBg36XZrvXY0izX3kQ82wWny5z2DZr8qpL5WjeBWxPhCQyJoLTRDF9Mug4PBAoVOzUeMIR4m6RLhA2ir+fOp9zZ17bNhOGYVeqRhCGbDwp9hH1yXaEu/lqPHjSlGis+mVxfdadv8e8W3s3Ldo7Ci0H5ty+Y+pXWh1P/AqrfQ7qJlw4LmLOPw9agIz/4VeRj6YtZZtso9zUl6y/Wef9KFYwYckZ9DtKQCR2FvrS5nJKplAr34x8oBAZFkzCOJ5MLyKRg4uvIXq/bCftUfwLetT3/dsceUXpNHuPkkeqIjx218rv/tQs1DSay653uj+zs9ZmNwC12dQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/SbM9PqjxEDz3WXybyaTEV9MR6pxMSgH1vBUYSpBP/Q=; b=AdDsfoBPciiyOLqy1oNZo9+9G8ZrAyUZTxFyUBHlGzRPsPnn0oSWAG3gdDbi1KmYfStjsN9NxwGXpVaSEo21b5kiJrjM8jHDUT3A9NNxzFsXotE8wbJYFV4Rr7pAlkujHUCPcC2Dp3UI6nDTh5GKUBpJSwZCpas5kSraFVdHF8Q= Received: from BYAPR21MB1688.namprd21.prod.outlook.com (2603:10b6:a02:bf::26) by BYAPR21MB1333.namprd21.prod.outlook.com (2603:10b6:a03:115::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.0; Sat, 3 Sep 2022 04:37:13 +0000 Received: from BYAPR21MB1688.namprd21.prod.outlook.com ([fe80::280:62ff:6b82:6505]) by BYAPR21MB1688.namprd21.prod.outlook.com ([fe80::280:62ff:6b82:6505%7]) with mapi id 15.20.5612.007; Sat, 3 Sep 2022 04:37:13 +0000 From: "Michael Kelley (LINUX)" To: Wei Liu , Alexander Atanasov CC: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Dexuan Cui , "kernel@openvz.org" , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3 1/1] Create debugfs file with hyper-v balloon usage information Thread-Topic: [PATCH v3 1/1] Create debugfs file with hyper-v balloon usage information Thread-Index: AQHYlVK9mP9UMt9phU6FgKvzfTQela167G3AgAGAz4CAUQOWMA== Date: Sat, 3 Sep 2022 04:37:12 +0000 Message-ID: References: <20220711181825.52318-1-alexander.atanasov@virtuozzo.com> <20220713151927.e6w5gcb67ffh4zlx@liuwe-devbox-debian-v2> In-Reply-To: <20220713151927.e6w5gcb67ffh4zlx@liuwe-devbox-debian-v2> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR21MB1688:EE_|BYAPR21MB1333:EE_ x-ms-office365-filtering-correlation-id: 4c4d0fd7-4632-4068-7625-08da8d65f8a4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CzYxqgDfT994fhfRbYA07iX/fAS10IjV3BKDcBi8uG7lfI15A8TIMsvFJB2c5bQjyTh41LfA7RIb9VKtTWGiOaLTR5aR/47TlkvDXhQutZJyhusGido3YH9WoGFVxRLzk8GZ9JnsTSTY4IoiQllQ3IALdK30rbVClexf9EC5Aei/JgMo/UkYSACOKoTrAvMRfNvYBg9GXgIwzgypVhvoXZZuOgraOtdIA5R+3G5ys58z7YTHIReVOd5f9VWgVm2dSJPUQlYzamABUm8al/oaHJ8RktiaXXMx6IuMs15lqVzfv66NSAEypUfazsxsUENkq2Lcgd2FuOMV9qR35kxgOikkLMyDpaESX16WtHHOV/HaNYfcfMe2YhI4bHY8boCpt20F/hydy/xto9J8CuW7OpHmZi14hxNoeanztm9bHg70qs72RRqEUBpHnxxMT/Fa8+IefsJG5nsJ7ZLSeCULGn93jVHV/4AFibwv0dx0uJbUeOsqjQvZS1BPftUsM/A92xhpKZxivTEiUDKnDrk5AlPTUtYmRFDhSw+FEMSNav4p0KpF7YL8D7F0MMJqCxKttJPd4vABA7/d319Ljs4uH5YtMvLfioFV8zkQzwHkSibGD98VwFgASktZzprWIbbews+qYzItp/YLR9vfRCKZkF2YbCLgx3FKmm0qzHu+2Y03CQz5PwBrn9x8ZukJki5Svp78LwWZLPZ5IVmSknV8mqHtsKHXIFwKbgiPPMx/07VrVMInURlMoh7au6nPkN91/qJHzXbIxQXXcO7VWhLWrldw7c0nYSW5vtPXU0SbFbCKVXG63QAMsEJCerGakrQU x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR21MB1688.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(376002)(366004)(346002)(136003)(39860400002)(451199009)(83380400001)(2906002)(38070700005)(8990500004)(186003)(55016003)(82960400001)(82950400001)(122000001)(76116006)(52536014)(5660300002)(66946007)(8676002)(4326008)(66556008)(66476007)(66446008)(64756008)(8936002)(38100700002)(71200400001)(10290500003)(33656002)(41300700001)(478600001)(26005)(9686003)(7696005)(6506007)(316002)(86362001)(54906003)(110136005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nZhai01Hj/PIrPRcascGC7tk2amit4XZgxn5um+i8nYv7McjRNOwfyXmxYl5?= =?us-ascii?Q?5PDz9hys3UgMk0K2q7ctG40c5JGIqY2+kTtuzHAzQzs2CfCRUDx5gWGtt0d+?= =?us-ascii?Q?7TSNvI7lYV3jcu4L6zQB/Bed/BR61sM8CjEX1LzC6fhhc1/JEukQTnqfflkV?= =?us-ascii?Q?ZKAOlpyfOTmF+G6OvgI7XhIVtG7Xk42a5L+ENpaTtQ6u9JqxVOD0cLqPN/y5?= =?us-ascii?Q?RQuvq3U//WB1Q5bnurZuiBYHR/sziYq82eoRl8nqVtEim/flveFvOpmIvfRQ?= =?us-ascii?Q?1WyyGejjWRYvur7z6OAxkTan+FgBYDckYc68IkExo1CyIHQ9ZdioinXU/39n?= =?us-ascii?Q?L4nOkMk36XGh22Xiy6y+D5vaqPCRm3AEd8DHtj7a7RofANi1r2yiBbjuaENa?= =?us-ascii?Q?2pfuqmU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= =?us-ascii?Q?L/hvqdfds86noEZQ4pTMCDhxyamDVYG7hs73n14M7aCjXVZ6WggMKKkx65vt?= =?us-ascii?Q?UaMedh2DyiX/XHRAQXsr4HLXaFSL06fvp55EuGXxpHEwFKBzeobWY2hrEFwn?= =?us-ascii?Q?4Dzf1paAQZCkFRmXRzvUCfnN00qrtpT66GWyjAAEsm1/Z78yyclRc6TXnnxZ?= =?us-ascii?Q?9mBadBhOor3lFgXKwEZG+KK6yM+BdbbA7rWyM5CaKJoLDQlhffnX8pClSdUk?= =?us-ascii?Q?P3TCyNFW4iHvWsLt3TMKKPq1B6N2QHHMXCswWoxsqNLO/yRYCmJH628lvi+3?= =?us-ascii?Q?9A=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR21MB1333 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wei Liu Sent: Wednesday, July 13, 2022 8:19 AM >=20 > On Tue, Jul 12, 2022 at 04:24:12PM +0000, Michael Kelley (LINUX) wrote: > > From: Alexander Atanasov Sent: Monda= y, July > 11, 2022 11:18 AM > > > > > > Allow the guest to know how much it is ballooned by the host. > > > It is useful when debugging out of memory conditions. > > > > > > When host gets back memory from the guest it is accounted > > > as used memory in the guest but the guest have no way to know > > > how much it is actually ballooned. > > > > > > Expose current state, flags and max possible memory to the guest. > > > While at it - fix a 10+ years old typo. > > > > > > Signed-off-by: Alexander Atanasov > > > --- > [...] > > > > Reviewed-by: Michael Kelley >=20 > I added "Drivers: hv:" prefix to the subject line and applied it to > hyperv-next. Thanks. Alexander -- I finally caught up on the long discussion of balloon driver reporting that occurred over much of August. I think your original plan had been for each of the balloon driver to report useful information in debugfs. But as a result of the discussion, it looks like virtio-balloon will be putting the information in /proc/meminfo. If that's the case, it seems like we should drop these changes to the Hyper-V balloon driver, and have the Hyper-V balloon driver take the same approach as virtio-balloon. These Hyper-V balloon driver changes have already gone into 6.0-rc1. If we're going to drop them, we should do the revert before 6.0 is done. Thoughts? Michael