Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1318410rwb; Wed, 7 Dec 2022 11:18:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf6vKKx/LzfcntyJpgryiMKII9YQC4scLskOxJH9z+8cddohTFIacxIB0aloJ7lsI9gWkKyH X-Received: by 2002:a17:90a:2f62:b0:219:14b9:ac05 with SMTP id s89-20020a17090a2f6200b0021914b9ac05mr60029241pjd.175.1670440710276; Wed, 07 Dec 2022 11:18:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670440710; cv=pass; d=google.com; s=arc-20160816; b=iaAdo43WWYG4opsp7zUkIfSR8G9ZhdXT1kMgC6fg6UxG7QxFOz3d4jwW50exyHMMhH 9JyOVw5ax8MQazONSmpMM5K3qoCCLv2OSZCfmf9vyk6iNUw8kTdaR2S5Rm5/2jJX/ywg t4UxsoXwjpMTgHnilu5l6a2MHzOxbXQsBCzESTk8POAAAYbaGK0uC5NV0AgRVbVsVFqh J7/ifxXAd+OSakKozixN4Ikys9d6gHANeQthWLKlZBoX3biHyJzTTQPOGhXfe/JooRJS UGTbdQ/ShGI0y1AHBql7Py/Rpbl28LDAalwkzdI+aKVjMIPt534PXzkiyQJ+dRB6TYfN tv4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=vmQwSO+sHRdOxKyssFE+1LSKcto+OwyNSMXVrYSeDQc=; b=XTSXwmyvaEHjJlRteqaVYX/yZ/srEvhwKHNPGqVzAVcnY88MK1eOTEjGmsClTNVwRI NPTBDWIJG1BZh3MRqE58RUfFdxbQhDINTXC3ZTvyAA/mBdbiusnjrOMLQsDneOHuaHRy 7fQYGhxlKI6mxORxZ57fddvVoVSpO/+1ib3+ap0ywsH9hXtb5tFw+JMggoYEmm5qwhjW BSlbObycT3BKAfnW7b/Fw5+qDvt6v54VBrvKw4mA1hJEskr8RjzUa1Is1a0qFe4idP9l Ujzpby78pfwYL7Vn0RHkgBMblBiQqCclprQ6OAkO0k8BfOSlBknIWZCujBRDQrINNNNT h0Zw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2022-7-12 header.b=ei7S0zmT; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=iNfN7qyo; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 185-20020a6304c2000000b00478c151f29esi9232590pge.664.2022.12.07.11.18.20; Wed, 07 Dec 2022 11:18:30 -0800 (PST) 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=@oracle.com header.s=corp-2022-7-12 header.b=ei7S0zmT; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=iNfN7qyo; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229848AbiLGTGX (ORCPT + 75 others); Wed, 7 Dec 2022 14:06:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229847AbiLGTGD (ORCPT ); Wed, 7 Dec 2022 14:06:03 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BEC56F0F7 for ; Wed, 7 Dec 2022 11:05:18 -0800 (PST) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B7GDv0O010250; Wed, 7 Dec 2022 19:05:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=corp-2022-7-12; bh=vmQwSO+sHRdOxKyssFE+1LSKcto+OwyNSMXVrYSeDQc=; b=ei7S0zmTKPHvKkDlJ1szWBA0i6fPb2dScLIKZCv50b5yCFqSiLhXhkzwpwlaz8H9zBVl Txe7Ebg3dGbXi2hBMMYFkc9OL+wyrULgHw1cSA2XTRN17gyjzURYHUCAFchxPrwyAyZX qGkYXZzRRvNeRjTuM3EyiKZqIhJ/E2XSlBCEo28Uh9fto+6t/InToCmbpMLCcum+b2Sw Pq95QQucOKueZ4LiBp6I+lb5Y8HP+KHnLX/X0hgetzhj0PYZk9VnxP4r4lUrpCrwpFvu X7FNs+6rSXSzPw8N/0oNGVPLkKVHiT/eEQw19xenbFYbngBRugak741j2VbJkeT9OM1A FA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3maudus42t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 07 Dec 2022 19:05:02 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2B7J0pFL009885; Wed, 7 Dec 2022 19:05:01 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2040.outbound.protection.outlook.com [104.47.57.40]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3maa69hbnc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 07 Dec 2022 19:05:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B4UIAG0upIPXR0A7V+raD4EOUAwc/FoAUSOGtfh9iCKKtzRLVGW4EaWhhxCLnCdJcTvg2pB7x92m5jDEfcX6F0/OO63o0IMmE3us7wbXSl9DUUIfI8bk9afpeXXnongwWBvftXGhS9DiKa2yNdaphpGqqoInaqbrpAl/D1nZJ6IMCdUWGkVGmqf843HsS1bzkIaERhw8H1nCTlKqnw+PsXNJcnd69yfyy/+88PD2L8djgMA7SMApHEZaDNv0WsfV1a7+6vEPJueM0SD3sZhXxwXxsvFjWDxzb8MuXZAufVBgjsmwayGWeZ2LXTZEzp6OLZ9/39ywjrlH9Sh1c1hHPw== 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=vmQwSO+sHRdOxKyssFE+1LSKcto+OwyNSMXVrYSeDQc=; b=n8EbWNSlWisP950b+M6h6Z99P/6RBoBHzm6GSGtfMz0/HQP7HzCo6LjUYEOLQ4MOyUOKrrMYmJXRdOEwnDcBemEAHycJIUiHFtKPQShS7n4shI4i7VfN2bVCBQWipnScC2CCk1BVfp4cpB9DKgR9xjQ9VEkIYuix74RKF6iZ6GGqz50+9mzhBpRWMrPqb+/LGgD0jm986vsNzGwMV1akNypaBE9/KS6lQkL/d2gkx/PWXYpP/kivC9Vypz/4a1TjbMK0fLVaKZ/NDZ9zpIqs2bLJmIftUk3ZaOd6K+wp3UeQiAhBEmxTxPaCVC1eU0QMYKCiU+uFKc/8LpSc6RJZSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmQwSO+sHRdOxKyssFE+1LSKcto+OwyNSMXVrYSeDQc=; b=iNfN7qyom2tLXPQzVB/t0Kgs9+YsCl1gtReLSDh8SwCCWhIwn9bmXdBbm0dssZgoaUIAvU+HS8vD/evJeQEuTUDKU0oxb4JheharnsuMgSDchVjgPcTTeMJMstc9E6384ThEnNfrbFbttmAxcC4cMZuC34jbL56itDPV3hRk+uI= Received: from BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) by MW4PR10MB6560.namprd10.prod.outlook.com (2603:10b6:303:226::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 19:04:59 +0000 Received: from BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::8d67:8c42:d124:3721]) by BY5PR10MB4196.namprd10.prod.outlook.com ([fe80::8d67:8c42:d124:3721%4]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 19:04:59 +0000 Date: Wed, 7 Dec 2022 11:04:55 -0800 From: Mike Kravetz To: Sidhartha Kumar Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, songmuchun@bytedance.com, willy@infradead.org, almasrymina@google.com, linmiaohe@huawei.com, hughd@google.com, tsahu@linux.ibm.com, jhubbard@nvidia.com, david@redhat.com Subject: Re: [PATCH mm-unstable v5 08/10] mm/hugetlb: convert free_gigantic_page() to folios Message-ID: References: <20221129225039.82257-1-sidhartha.kumar@oracle.com> <20221129225039.82257-9-sidhartha.kumar@oracle.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221129225039.82257-9-sidhartha.kumar@oracle.com> X-ClientProxiedBy: MW4PR03CA0258.namprd03.prod.outlook.com (2603:10b6:303:b4::23) To BY5PR10MB4196.namprd10.prod.outlook.com (2603:10b6:a03:20d::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY5PR10MB4196:EE_|MW4PR10MB6560:EE_ X-MS-Office365-Filtering-Correlation-Id: 0c28be67-4ebb-4169-1d66-08dad885ef12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cgqcgmj2ycJqAGm35/mzyJWekzjMKvpZQDMI3mJ1Pyo36npde6yJJ0Z8PYrjhJgz3oQKYQZn8yYL+wiZLvg9B3O0SIWqqE/NvzjsHiTRPIXUN9FVP5HiGWQk54udkhEUDwyPfp3n3xXA0xpYFmo/1ncsJ3kqnKAxRomHKDmdVd4hJAiSB2CVWInxUwCbKko3vfZvVLlH6ICH3OTJcznX4yAsnhfor9dX/ukhZioIUMOHPCxwZQH/o6qNUaTJPsjJmex1iBjSwu/F/mNqk9R6XQa7NsVkgF4j4UYQHncbgYHDS0qaBd83XuB3W55hZ17tnIFA7xdRRSKMn2WABfCPMoKMXsY5nSmjv6qQvyUhEmNxzTAaNtc2gjogQpTj2hGasE+yngPrZKHU1v2hBbFEdMi2dBmLBwvPxgJnmLXSyVQEePDOZSL9yeAG2kPTtsaf89sastPWSrZpoyk0c2Wz+fSNSZdd+89KiMO6uAbJX2cbLXT75v1bRhXULSsGLcUvvm/7q5CB5vQibYlXkqzxXxzmRxJdZ3IaE93xzKtBcuE8iLyf1GQg2jyiWKL2Xly7d7EZRU82WKmjgjixO8KbezSkeuPgDmlMLVjROkv9iJ2F9+ykZCgyUVqNcKuCkAnBQHfclvxUEnpYoJuUdBa2Yg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR10MB4196.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(7916004)(396003)(366004)(376002)(346002)(39860400002)(136003)(451199015)(6666004)(83380400001)(86362001)(38100700002)(4744005)(7416002)(6862004)(8936002)(4326008)(44832011)(5660300002)(41300700001)(2906002)(33716001)(186003)(9686003)(53546011)(6512007)(6506007)(316002)(66946007)(66556008)(66476007)(8676002)(6636002)(26005)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?x1p5UaiBDZvsipuPnmgyCDgCTPbpbOqmDJaT9nkSRS4t7Td1lsP26NYsleAW?= =?us-ascii?Q?WAI1Q0XFWiPHUvefSlVCKHyso4+Z8H81fzHjTB/PJJFgpcXFIb4GwWZHzwJa?= =?us-ascii?Q?Pmibad7dBcRGwpxUckfTe6xBLKsyfYCXqzJ7KWnMT1xHIeWe5IzcYfh/M63V?= =?us-ascii?Q?cBbvCyfc7OViCEZRNZ5PzSyMxeZENwoFPOkINP5U9HVbvD+jvlWN1NonBo3C?= =?us-ascii?Q?gvj33uBLQps7hoPdICfG9o06HKpfKpcKTUVj7RC0iMbOocnc0q+oj31nrpj0?= =?us-ascii?Q?xXx95SxnNkynO9hz5iQtm/cXEOGqUSP/HlV+d0xyn3X9RLh0r90Na2RdahgS?= =?us-ascii?Q?/wXNi5b+lp3kQkrxz/eT3V+wJO+OcKhiGma/NOBx+sq0MqpFNYqfhP5KOb5g?= =?us-ascii?Q?itcIiCstL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=?us-ascii?Q?EqnJfkONkqEqv5HnezodNwMmlr3Gb4riLOdkD/BcLi8ehNmhP2xhB5owtZsK?= =?us-ascii?Q?grTrbwBwWiifn4+txvz6QLjLpRtRycjgHVpc0opAuCaoediNr5PRifYQ6eKs?= =?us-ascii?Q?454ENFKP0T3S4vDQOf08cz83xlDRZFNxfd6O4/oyBvSvaH+LNHkkrmyDDW8N?= =?us-ascii?Q?5mRncGdHhUOVGlT+Lb6HIP82LweFK2fPF3qP68HAz5c3ZqBTqJmDxwC2GRwy?= =?us-ascii?Q?BFzba6gadapsdfNyXSr1Coes2DEt4oIC+WU1pkK/0WS33/bQA0ZbAfmBaGtz?= =?us-ascii?Q?mA=3D=3D?= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0c28be67-4ebb-4169-1d66-08dad885ef12 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB4196.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2022 19:04:59.6298 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: j4G+Y9XT49noAuvBZQemmPYdlABA9kmCn+76O4CJJ28hYaJ2VuS2tpa+xUJCDwat4U8vXzkqgZ8FLAR6vWKXMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6560 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-07_09,2022-12-07_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 suspectscore=0 malwarescore=0 phishscore=0 mlxlogscore=999 spamscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212070162 X-Proofpoint-ORIG-GUID: _4u9aLFoyQ51etY7BeNqYKCUW2bEAMc0 X-Proofpoint-GUID: _4u9aLFoyQ51etY7BeNqYKCUW2bEAMc0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 On 11/29/22 14:50, Sidhartha Kumar wrote: > Convert callers of free_gigantic_page() to use folios, function is then > renamed to free_gigantic_folio(). More changes to __update_and_free_page than expected based on this description. However, they are all folio conversion related so ... > > Signed-off-by: Sidhartha Kumar > --- > mm/hugetlb.c | 29 +++++++++++++++++------------ > 1 file changed, 17 insertions(+), 12 deletions(-) Reviewed-by: Mike Kravetz -- Mike Kravetz