Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1011609rwi; Wed, 19 Oct 2022 05:49:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6eMPGNIIYteR5m4xvwJZ+WQ9+5O2uTUixcfIKCCnxK/bI4zZNqPzwZYxP6puKPRunnFEnP X-Received: by 2002:a17:907:783:b0:76e:f290:8b5 with SMTP id xd3-20020a170907078300b0076ef29008b5mr6800390ejb.395.1666183746929; Wed, 19 Oct 2022 05:49:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666183746; cv=pass; d=google.com; s=arc-20160816; b=yVvNLjHGcMRUh6sfe9bBh1gV4dvATxkR1c0SgfSFFEAxsx8lihAyGW5Nr8hCR8xKhb MphThuDE+7zRc9umVBcjtvUAxNxCoNWWjvKHlAB2DJhHLBLcrO5gQ2iuCkQHQmoD8NLZ ssjjFIVcfd/wizWJ2U7viu2WEsDW7otz837covQQrFIXIHtMDGNv2/s18izSHCy/Fc2p OV7BKz+RHp7QNEwrqB2VDNRaGk09C9JzzhdrF79MJYugUNQx4dLmQ2hLH7CPtKHhKq5G gSPDsP4PYtol+C68qE7gAxjeDPUXa/I/uGfQBaak1ak9CDaRwrr5qfNdwpYW2fvIhQ9U 25IA== 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 :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=1Ydn3i3UV/gZYSOaIno3f8ypG8PbbgnZS9oRsmPUgyg=; b=OB1awp18307F81gcJPOUcLtfYliXM3lmbXReoGjpYu3l2O99Ji8axsBrlesUq3/EjW AryFY5utR8crQlUKsj1wJxEEaYTZ2kRWZjNXCEtuWRjQKlQya5plZCZ77ha08VFFFope QT2B0wcYY/zDpCE9wJmnrx3FToSZ/+dJQJclcrilybfNwfNBVq4b2skykzys3kE6QC88 7h3EvW17FHQnmZB7aetunPvLO8kRtaxSYtwOr3eoA/vhjm2yF+26BLT3U3gmhmHZzTa1 GvdIEQB1KnAmOwIBajb5Jg89cipS8FZIev0r10tlJtI4teHa4xQvhcjuBV9zpifBSB2P gizg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=n+bV+2OU; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i22-20020a056402055600b00459101ecc5esi11697419edx.468.2022.10.19.05.48.38; Wed, 19 Oct 2022 05:49:06 -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=@virtuozzo.com header.s=selector2 header.b=n+bV+2OU; arc=pass (i=1 spf=pass spfdomain=virtuozzo.com dkim=pass dkdomain=virtuozzo.com dmarc=pass fromdomain=virtuozzo.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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=virtuozzo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231913AbiJSMJ4 (ORCPT + 99 others); Wed, 19 Oct 2022 08:09:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232802AbiJSMJA (ORCPT ); Wed, 19 Oct 2022 08:09:00 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20721.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::721]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2983C50702 for ; Wed, 19 Oct 2022 04:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iiatoNfG3uBfMlWxht32OJHjo3u3YmjEzrBKwrZwCHui3SmA1kbhm1Th3E/CZ/i6L5bjJN/2jXlcfFtK3M90UZNQTA+v5/WTHxqIIAFgPEeATdhpzyHydxmi6B8+VN6hV98h1o2MN+UGA7bAyvavzdvTPdWYTLfbMu8/B9PaLv+94+X2+xCDCMpHaGF95lKGT9ZzxRs8V6TkruBtg/mQ/kiiFmfdUGFD6TXnj7LzpNC5cahywx+BgfnrAg/2FDxtPLMzXZr3J0HTRYwF3hHjXwWGUcfMKePd+X0iuvDKyWKjojCjrgdlNqfjjFDzWumeb2juGyNTA6P46nmSHTpu8w== 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=1Ydn3i3UV/gZYSOaIno3f8ypG8PbbgnZS9oRsmPUgyg=; b=PRiFGtLzQINWBZ3d0vFXDDIgPvwyvnY2dyQ3fsmPgGLC43Bnwtu6yVzOxUF7vgpafMEJSSp6EDdyP40jtK3OPGMmfot4IUcnN0e8P688OwSWMDyl4mjfqSrZ+9rm8lE/oAeR+Aks/+GN4bYFQQTZ5duBHYdg059Gj4jQ02m+Q3BdjCgBiN07S0WoCbGWj6MOIYtLy6/6ZD8SfE8CgWFPAEOgFyWpM4Ox156eOD+V8rOOQ32pizx5aK1gudZffbQfCa4UY9RloqBKgHR7xjpSXcGAP0pV8zbGt3aH8uBdSlgpaSgtUgpN+a3CfrrqsKSfV6Yhg4UrcJW+YyY2gbBJMw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=virtuozzo.com; dmarc=pass action=none header.from=virtuozzo.com; dkim=pass header.d=virtuozzo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Ydn3i3UV/gZYSOaIno3f8ypG8PbbgnZS9oRsmPUgyg=; b=n+bV+2OU5rCjQ90fvZ5Kiv2XT5L8L/GfUcSkl2T66qY3jOQ3fs6EP1HL4dYB10P0YCoFrQbAY1taC7gsNTsMiP/aqsjgPGuJqZvTqztDfCwidr1/JMrYTP2cQe52+37bNVbBb4Nxs6HPmhLIeyctIHOo5Ow8WQ4adtA+4pcxE+8Yph3i5nDcaSNPdLzZMHPDlYTEMqwjdd+xMcMouz5MGjxPmVhQ7pR7H7D43J2CogMXfjGD1wDHo66NJPnP8LHOITynaWb8pvMbaMkrzUfyk8aaqTXDN5xcaVav1BhDC+c+HMu+/2naqHO2DYsFExRlKtljsLr7hkfe3f6WaInYHg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=virtuozzo.com; Received: from VE1PR08MB4765.eurprd08.prod.outlook.com (2603:10a6:802:a5::16) by DB8PR08MB5530.eurprd08.prod.outlook.com (2603:10a6:10:11f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Wed, 19 Oct 2022 10:38:15 +0000 Received: from VE1PR08MB4765.eurprd08.prod.outlook.com ([fe80::6809:fef7:a205:b08a]) by VE1PR08MB4765.eurprd08.prod.outlook.com ([fe80::6809:fef7:a205:b08a%7]) with mapi id 15.20.5723.034; Wed, 19 Oct 2022 10:38:14 +0000 Message-ID: <2ae8251a-456d-abdd-ed1a-1bfc04356741@virtuozzo.com> Date: Wed, 19 Oct 2022 13:38:13 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [RFC PATCH v5 6/8] drivers: vmware: balloon - report inflated memory To: Greg Kroah-Hartman Cc: Nadav Amit , VMware PV-Drivers Reviewers , Arnd Bergmann , kernel@openvz.org, linux-kernel@vger.kernel.org References: <20221019095620.124909-1-alexander.atanasov@virtuozzo.com> <20221019095620.124909-7-alexander.atanasov@virtuozzo.com> From: Alexander Atanasov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1PR0501CA0001.eurprd05.prod.outlook.com (2603:10a6:800:92::11) To VE1PR08MB4765.eurprd08.prod.outlook.com (2603:10a6:802:a5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4765:EE_|DB8PR08MB5530:EE_ X-MS-Office365-Filtering-Correlation-Id: ff6a2cbe-7fb5-4452-8e69-08dab1be0723 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: m4Qgowx22ojbJvw8CV2JPjNNT8J/DCVkOMDWj1nsM2xN3jqy7CW2pCv2qskUOmOsOBNOOLHg1WGdxf4zMfrd8u4XtsuM7nmYcpIctBwBm17BQzbAdetMln5kA9O+34iLGljaKACwktlhAGTBMkL2PVEINgjEBX8dno+BOO8krMKuzX0gqFWUc1Vqbcv0H9wXj/F3kCNqg7IdnHFXORzO7UZBg7vWXWVkQD2dR2KkW5o3o0/ISuRNHtQWlgdy/T80ezO0E0JYTCLmJlvf3G2IAF5zJr5w1TFSbkLrllqy3bznKMjhHnB/lf2GoicktmVbuGHgafvfQaQoYnIIQN7orTvt6/yh46R5VEvjdu/OK9TjyGwZ31bz3BtkaNaVnscc/ngjeiTHM/rbw7yhxqQdLAFOuJ+kOuBsVMbaczhoGXkTDR0vKxZYbSXwjfAw0yHKHCJT/BN9ohr6bByGJ6XhaBTJZjIlGIxOVae0FUndbUTJMGR8JW/g3jTQdGj4juUi/i0pad+a44lENCZZIqcpI8liB65dMJBQPQgEx55uDqr+v1+jBu6zygNck/g0BDPAc5X6dsSwJCP8f/pmCjDja+IB2kDYttE6uEd0JSrXs1yf88ni+pYu9Wg4M4d+yElz/w3wiM/QSBNLzRIQhTq+UTRvbOpH+igB/LYS2c7BR5nWjdvQB7AEHeZ63mgfm/fNKP22uH69y+rI07TIk7QG1rg0V3TmhE3+dvtJSCXbNuCTdDD245u8rb2ulHwI/CtEsi6vic8OOauVeg+1lrN31KI9CCiPM9EVJ3Fpqo2MaL0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4765.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(39850400004)(396003)(376002)(346002)(366004)(451199015)(38100700002)(31696002)(4744005)(8936002)(31686004)(44832011)(5660300002)(4326008)(41300700001)(316002)(66556008)(186003)(66946007)(6486002)(478600001)(36756003)(66476007)(26005)(6506007)(53546011)(2616005)(6512007)(54906003)(8676002)(2906002)(86362001)(6916009)(83380400001)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VGZxai9rZzU1VXQzcFRHQnpubGdWaXhoNlRTTmN1ZGxyZDZJbnJMQjZEV2ZS?= =?utf-8?B?SGUrczRLRnBtM1FvTDdxd3pJOG1qQkhkODdUQXdSY1hlL1gydFFqZ3pETWRE?= =?utf-8?B?L1I0MVFqWGpxSGY3c28xZnlZMXMrcnN0Q1dKcmovU1NVUXZRMjNBUFhJWkhy?= =?utf-8?B?NGZLSTBDWlh4Y2lPL3BRWnlrU3c0bEh5cERFUlkvUFN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WUw4SzVJZ0FheGE0RmFWRFoycHkrU0dUcHBqVE9XL29aQWYv?= =?utf-8?B?UDVKNllzcjNURFJJNE9ENzNJU1plSFFPUnprNTY0U3duNVp3aWJUZ0syWHBT?= =?utf-8?B?VmpJOFVFZG1hUTBkVGVzM0lQRTlsWmpkUDd1YWNWTDZURmpvZU1HQ3dlM2NR?= =?utf-8?B?eEE9PQ==?= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff6a2cbe-7fb5-4452-8e69-08dab1be0723 X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4765.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 10:38:14.8801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 0bc7f26d-0264-416e-a6fc-8352af79c58f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ztuKDWo6qag8TwK624eMNWX9Wojf40ROdjOsQN7B0wATPjbxbgO2AwQlP0MtWfdt9VSy84TPuie9RX0FyhrhxdvVPtNoTzNTnIOLCPvi+xWxJgXqmWI0E42GIq6Poj98 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5530 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE 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 19.10.22 13:26, Greg Kroah-Hartman wrote: > On Wed, Oct 19, 2022 at 12:56:18PM +0300, Alexander Atanasov wrote: >> Update the inflated memory in the mm core on change. > > That says what this does, but not why it is needed. > > Please expand on this. > > Also, is this actually fixing a bug? Is it a new feature? Something > else? The whole series is about adding a new feature - providing access to the balloon inflated memory amount - it's in the cover letter. Should I repeat it for every driver that implements it? I've organized it classically: - prepare - add infra - use the infra What can I improve here? -- Regards, Alexander Atanasov