Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp121644rwb; Thu, 18 Aug 2022 00:19:35 -0700 (PDT) X-Google-Smtp-Source: AA6agR4yIFqxraWYkHZ1sqlm73OhnVikdm6OiFgzR/c7pcjtyZit+AnDqm5oz+GBU1wkTXCYXKYS X-Received: by 2002:a17:902:db0a:b0:172:83c6:c4eb with SMTP id m10-20020a170902db0a00b0017283c6c4ebmr1475602plx.151.1660807174957; Thu, 18 Aug 2022 00:19:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660807174; cv=pass; d=google.com; s=arc-20160816; b=FMKRhmLCLhTD6BN8/NJ/euc3MNo0KJZxhQcf+Ao1poPyGUotTK73cEq6vPK1WfLagf kXkjsS+TO9vGC6IkqeYDt/UQ1+e6PT+nGoiknrniEwabpJLN4b7Ohi9KaZbt0/lMUWX8 7yUuhxVnMMbX+3qYo5KSUJ6DCFqt1wLacUD/XzckA6udGRCoQDvDjpQ7go+HRrV+pVGc c2wIlqls43uZUOcwFoE+b3YuL78VC2YWkj4i8bwJDnvAULG2v3iRmVzt5rimU+IlS9Vv CNSnxeK7Ir+asg4cbrTZm9AP7Na8UoHz2ZYcTYILUfUo4Pwwr1xaNBC+WTGrHXu8cnve XLsA== 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=hYLYLf/glmri4PWUT3cOAHQ00t6csHjFqp4GnehsEtI=; b=kch7nZCI2PVX6WzBEDQqSj9qQsYT4nBq1gy/anbOZhqhzW3T2kN4yPTw1RNFzqYth+ vDaa4231KDsA0HJox3Ua+S5BenenMIxw8h6T8qWHe6BuoaJFT9wJ97HKKh5mMysQuuWX i69dWw6bb1qaG+V3VrjYA+Thtdr8ciUkm7pcj2Bx1/AnSJ9AWV62Jl9vh8LC52e/H1HC mJyGR743VHYuggvUwqXKsIS1/5w79wY/Yl4OoB0dkxT7kHGm+sVE4XFzDw9iffST96wn 5kH1xyHJtKV+12dNxgvECro9SBLnVEySc91uUYcbUquKzp4POO9VItULnwNk8ruKC/Bm n89A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@virtuozzo.com header.s=selector2 header.b=BbZ6Uxs4; 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 d21-20020a056a00199500b0052eb2a4e1f6si832822pfl.247.2022.08.18.00.19.00; Thu, 18 Aug 2022 00:19:34 -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=BbZ6Uxs4; 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 S243516AbiHRGnk (ORCPT + 99 others); Thu, 18 Aug 2022 02:43:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233362AbiHRGni (ORCPT ); Thu, 18 Aug 2022 02:43:38 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2126.outbound.protection.outlook.com [40.107.104.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B6A224BF5 for ; Wed, 17 Aug 2022 23:43:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WKSA3uYCoyihwYy+nYvgPTDp806DNKDyyRrAC4HgEUMLoaBn3jP+pslfO0BWGt6DRqfFhtul4uYqzoVQASkPojTNYgYZ5nW50bbUH3+T1UGwJQKMq1nBH20C/ZuPvkY0D90axuWzNgUM/eiHk7Pwol5SVtQ9Vu1FagCaAzryfbOS7FA1yQw7YLqu77ytXwR3swRfPzXzlgTst2mcUi97NPO27VJY5CY5681tRVYplmUOXpCNgD8cUjABg8ksaTlLMLKM1hzqwBybM6H41lO3gDs/AR51vkIJrEZ4NPGoHNKg+McssI0pL1EEouUt8z4c8rGv0ScYYZQsRimiVtPPRA== 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=hYLYLf/glmri4PWUT3cOAHQ00t6csHjFqp4GnehsEtI=; b=fbKMNVzBNled1pxqAuPtBcNdovPkSsKJDyIeVY7bTnsTYygRlnKIayW4Z8GhWk3UKiemBapTyejOtOA+X3sCfvo1sSs1S/Hvb3qrx6p4UDtkuiXTnOwa0Jsl5RoknpKiVJ3YxyeEdWi7RNeIIwBJSS3weyjlL8vsuZiNsS0pO1y7SvYrRIa9gbv0AKF7wZGj14cH5ENtKNMDEKAg8JzTA5ckfw7JaIW+BNZYuVlY50evbqnsQVg8dX3LunbuiR0Df/kSYxJebFdCegr56r/Z2OcNPAKJeHeAZkYKotozdyO+3wnYrP+6FlrVZgVp8BuGMM0qtGXUOpP6e0Lh0dWw+Q== 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=hYLYLf/glmri4PWUT3cOAHQ00t6csHjFqp4GnehsEtI=; b=BbZ6Uxs4e81HCnEx+8BY4wm/y9Kq6wpPBtMu1ExdZ/w8nYA9d4Fi/T1WuZQEbmlKbzG7aU648p350fCn589XMakXBODG5a92lAIIQP3IksAK1hF+skm38dixkZUyPJRCfTmAzEAtQ3SGzntswljvoarGLzYgPE9fCaoNfjfbGHpBL9bC7zwMZ+ldBIcuWdRoQ3Ssf7YVausOGvKq895BlRWluwRSEILriru/qdX8h7nfgfrISjUH8diAkMs4iBl8lXTY2eeryh0H1Ic5Twn366dTplC6e9OOysq55eMhnmbnNDqf6rJ2uZ5nGPqVtcwvvGsquwrKNmodwVxnxpjFDw== 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 DU0PR08MB9106.eurprd08.prod.outlook.com (2603:10a6:10:470::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Thu, 18 Aug 2022 06:43:33 +0000 Received: from VE1PR08MB4765.eurprd08.prod.outlook.com ([fe80::cce4:bfef:99c9:9841]) by VE1PR08MB4765.eurprd08.prod.outlook.com ([fe80::cce4:bfef:99c9:9841%5]) with mapi id 15.20.5525.019; Thu, 18 Aug 2022 06:43:32 +0000 Message-ID: Date: Thu, 18 Aug 2022 09:43:29 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v2 1/4] Make place for common balloon code To: Ritesh Harjani Cc: Michael Ellerman , Nicholas Piggin , Christophe Leroy , Nadav Amit , VMware PV-Drivers Reviewers , Arnd Bergmann , Greg Kroah-Hartman , "Michael S. Tsirkin" , David Hildenbrand , Jason Wang , Andrew Morton , kernel@openvz.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, virtualization@lists.linux-foundation.org, linux-mm@kvack.org References: <20220816094117.3144881-1-alexander.atanasov@virtuozzo.com> <20220816094117.3144881-2-alexander.atanasov@virtuozzo.com> <20220818044123.q5yzdaszcxl7mcl6@riteshh-domain> From: Alexander Atanasov In-Reply-To: <20220818044123.q5yzdaszcxl7mcl6@riteshh-domain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR3P281CA0155.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a2::16) To VE1PR08MB4765.eurprd08.prod.outlook.com (2603:10a6:802:a5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ad0092db-501c-481b-cdee-08da80e4f7dc X-MS-TrafficTypeDiagnostic: DU0PR08MB9106:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ydLlKIwFMd0GDCkjHSz3ilB0FwncTT2GqW7O+KAhQmlrUZcKGWTyQQosGbVtW0or2cvHmv/X+wRN5x1k15nNG5r3g4usMGoRTpHt5ydBhnyde4gSQxsDDjkkD3OQUwdn+ETCEqbFQjl9DJBqKZxFZVngeyv2daTEaKwgvtoOLKSTJQR5fszdzah5GABGmF06ufv/HDluwZ+r8On9n8hqi5R1vYYWbIxWJc1a3cfBdNwDbsF8ZKP1T5VyOZ93QTFMHKI43UJ1ZRdO8+Y25PNZlcDJkbQQU6cgc9NK5X/i4d5/uEJWxk/+8nws5oXWMu9/AXeUiweUo/vrBBcllz/0DA7mv40OGRjux80LC6G0y26QTF5KV/iTbLMeTY59gER2JnwV7rLTkmtyElhWXXVZ4dbRf5ddsXRNiAhgrhosvWiSrLy5CVnWIDpcpHJyCXaV58rxwD7lQNOoRl/XZeJXiagjmewUpoWXb+AG9zbl/WiVLkJxCPzq/gwcOgCaHxUx3ex9TIKFwHHw5t3a/C+nL+Fh5JWlkhy66bbX2meeNawlGT3sBTxCc6GwV7prxBLkRnb8bQI9zXMncOCj/i5I3qsgAe2tQL1cQvPioAueZbhZETiubJ6oARvNLz5wkjISB1GKwO2z8tZtmxkwAiLxQlwCldCKt2yFe6ffp7VvZa6lxWMrpN+/KPtLmSSC3ao7QJbHTkPmcVco74Gt7l1bnAyXmvhre3gzj8/Y91rMtKNd9QLhvZI9hGjsVkSpfDJ5ZeHoJCVBq8Xs/bls0v5D7rDENulrKH4L95fmTLz19cRAZXx/w6m1GHl1nNMuFgL4 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:(13230016)(4636009)(366004)(39850400004)(136003)(346002)(396003)(376002)(316002)(38350700002)(38100700002)(66556008)(31686004)(8676002)(36756003)(66946007)(66476007)(4326008)(52116002)(53546011)(6666004)(2906002)(186003)(44832011)(26005)(41300700001)(7416002)(6512007)(6506007)(83380400001)(86362001)(6486002)(54906003)(6916009)(478600001)(2616005)(8936002)(5660300002)(31696002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UFZTb2NDSjZyVlJ3ZGI5bVNHazllaHBEMXJVd1NkSFFOd0FuekxicFhpUVBK?= =?utf-8?B?Y3B1cVNBemgwcENCbjR4ZkdzNXJRdFVjb1JIaXBrc0kve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?= =?utf-8?B?UXQrSXZ0Q0l5bVBtRitCdTJUQnVzNTNKcVlXK2dIL2Z2ckNsdi9lV20yT0tH?= =?utf-8?B?aW5ZU0VFdjJ3VFlFVnVSZmpkenVPNEY2S3F0NTdVcUVTMDB2TU90RElPamtt?= =?utf-8?B?di9BNTAwWFdlWDAwNkYramE3V0l1SWFBZ2pGQW9sNFIyQWp0WGZ2blkyVmFn?= =?utf-8?B?SmcrVldXZEd0d1cvRnYwdXdQSWRiN3UzME1hcWpPQ1VDdjl6bXlVekpiZVFD?= =?utf-8?B?RE1qUVl2OTlhVHVPdDIzNG1oK3ZYcUFUTTNmcU1jdHk0Uy85bGYyNllSSnpw?= =?utf-8?Q?z5KyCKBa0MDL7cuvNmopxAo=3D?= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad0092db-501c-481b-cdee-08da80e4f7dc X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4765.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2022 06:43:32.7563 (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: 9KK9X8yKbgb9JPA0U9d+7wxzZZU6jTy9Bj27+raXbm/kzSj5/rSBDNpj2pprpMV5Asco5RilV4H2C1aqydI9N2jjj4Xamt1LqhHs89OMPsY6h5TG3O4VJgIs0TCz+0aK X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9106 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham 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 Hello, On 18.08.22 7:41, Ritesh Harjani wrote: > On 22/08/16 12:41PM, Alexander Atanasov wrote: >> File already contains code that is common along balloon >> drivers so rename it to reflect its contents. >> mm/balloon_compaction.c -> mm/balloon_common.c >> >> Signed-off-by: Alexander Atanasov >> --- >> MAINTAINERS | 4 ++-- >> arch/powerpc/platforms/pseries/cmm.c | 2 +- >> drivers/misc/vmw_balloon.c | 2 +- >> drivers/virtio/virtio_balloon.c | 2 +- >> include/linux/{balloon_compaction.h => balloon_common.h} | 2 +- >> mm/Makefile | 2 +- >> mm/{balloon_compaction.c => balloon_common.c} | 4 ++-- > >> mm/migrate.c | 2 +- >> mm/vmscan.c | 2 +- > I think we don't need balloon headers in above two files at all. > I don't see any references of balloon functions in them. ... > Since I don't often look into this side of code, it's better to confirm :) Yes, you are right. It passed a visual and compile verification. I will remove them in the next iteration. Thanks for pointing it out :) -- Regards, Alexander Atanasov