Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3314966rwb; Mon, 5 Sep 2022 09:31:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR4auMXeLgyfoKR2mlZMAKQDY/GjCah8Q+LOFBZpS3aXefJuefaqJqEblbRAHTmENDduhJ9L X-Received: by 2002:a63:67c4:0:b0:42b:aadc:d425 with SMTP id b187-20020a6367c4000000b0042baadcd425mr37663062pgc.274.1662395482615; Mon, 05 Sep 2022 09:31:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662395482; cv=none; d=google.com; s=arc-20160816; b=EJuanEYAG2UtQZTVM/Ivu9+hV0eqykYKEOZyZr6HT1NaVd8DFRZgVLopTu5Kvse1Tl MDlrHqiA7pTSlxtD43o+PxpK/84gPtd90Hyb4H+NEicf9gw3mlds92IpDq6mE67Jtjxv AZGwowm7vp9+G7+GDYA6iLuEGnJc0ErGxkL91ud8sn7FyIRW6mKhiqD8wgOErCTO/zBa pGe9c51hzf4DU08oLAPvyWYXcQJJxhwX1OPLSl4Gmiw/6nYEZpbTTMHArh+WYD+vk9FS onk95OHLI0K1uky9CPvmlSM7lcHWiymJq8bFpEO4jDlzg8+2JhPOmas3AQSzIwULLgr7 dzVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Gx2C5541U0n9F5AFMZqVior4xRBmycropymV94ddXYU=; b=DUO2vvjiT3OIntf5PQkN0fyNiVo6NV3wJ+1qrjRZaCPd6paOdhEf+uG1CCcbiI/3zp jg7vq/ua3XReEsaDPBKgJrb0YMmrhwEZ5YrXNsgCyMPoXGq1nL/JZQAcT7Ztu5m/l50J uy+yMlaKStm7xCShj4OrNco9WfC6qbdax0HYz0sJwT/DjSSTAQG044IKMm+oZmcSwQ7C GBJqNOretD06wEoObnGEZHYw8aBedO6dUsEhjJNlGIAFoxNH9cuBtH4RA5tMPgwz2GBc ritb+pQn7ecZxg77q5LMQnqpXfTMwa+meVoUz5hWY5V5tsfd8MtVdHWSqKnw6DHAuMg+ AN9w== ARC-Authentication-Results: i=1; mx.google.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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170902758700b0016d14ffc403si9976333pll.240.2022.09.05.09.31.09; Mon, 05 Sep 2022 09:31:22 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231895AbiIEQVK (ORCPT + 99 others); Mon, 5 Sep 2022 12:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231782AbiIEQVI (ORCPT ); Mon, 5 Sep 2022 12:21:08 -0400 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396871658E; Mon, 5 Sep 2022 09:21:03 -0700 (PDT) Received: by mail-wr1-f48.google.com with SMTP id k9so12033413wri.0; Mon, 05 Sep 2022 09:21:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=Gx2C5541U0n9F5AFMZqVior4xRBmycropymV94ddXYU=; b=zfvvD1A+MdSmsalio9xUO6JKxDwyKBAY1/tgoOuTb7RUqVT+XECU/PqE+zuGK5NG6e x4Ed0gCw6Hb2s4OcAuPOJwdHHmnezzV9kuFzT0idPT/YyGK6+nOhYjP65KLKfcZE8j+e q7YVd2KKyPEX6AJHfMbFW8zp+MhY9RGbJg62dquviY9AHAkjXspDhIrSRMult611sdVY ll7FvXAphcT/eFfLGfMPsyWCkhbmurVYCq/VWxtMSPqTp9zyzs32uGePScdFyxZVbgSo nGfUxkCOc3eIDgwyBO+tfNaODve2tL3S1KatdUIXhj3gvVmq67HrZri4mu2zdUQ640qO 0NDw== X-Gm-Message-State: ACgBeo1hNxcJ74BJyKv24lESZtJvk55l0hQUcAk5jmealIUhcqQVILXq nORaqVwMsvck52tMmK+LsFU= X-Received: by 2002:a5d:6d86:0:b0:226:e362:237d with SMTP id l6-20020a5d6d86000000b00226e362237dmr18612804wrs.453.1662394861605; Mon, 05 Sep 2022 09:21:01 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id j18-20020a5d4532000000b00220592005edsm9358278wra.85.2022.09.05.09.21.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 09:21:01 -0700 (PDT) Date: Mon, 5 Sep 2022 16:20:56 +0000 From: Wei Liu To: "Michael Kelley (LINUX)" Cc: Wei Liu , Alexander Atanasov , 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 Message-ID: <20220905162056.puazskmvzd7oodre@liuwe-devbox-debian-v2> References: <20220711181825.52318-1-alexander.atanasov@virtuozzo.com> <20220713151927.e6w5gcb67ffh4zlx@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, 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 On Sat, Sep 03, 2022 at 04:37:12AM +0000, Michael Kelley (LINUX) wrote: > From: Wei Liu Sent: Wednesday, July 13, 2022 8:19 AM > > > > On Tue, Jul 12, 2022 at 04:24:12PM +0000, Michael Kelley (LINUX) wrote: > > > From: Alexander Atanasov Sent: Monday, 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 > > > > 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. The debugfs interface contains far more information than what can be put into meminfo. That being said, I can send a PR to revert the changes if we need time to wait for the other discussion to come to an conclusion. > > 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. > Agreed. Michael, let me know what you think. Thanks, Wei. > Thoughts? > > Michael