From patchwork Tue May 16 22:52:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sidhartha Kumar X-Patchwork-Id: 13243952 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5905CC77B7F for ; Tue, 16 May 2023 22:52:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EAD43900006; Tue, 16 May 2023 18:52:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E5CD1900003; Tue, 16 May 2023 18:52:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CD657900006; Tue, 16 May 2023 18:52:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id B9DCC900003 for ; Tue, 16 May 2023 18:52:56 -0400 (EDT) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 91A3A1A041C for ; Tue, 16 May 2023 22:52:56 +0000 (UTC) X-FDA: 80797619952.28.BACE51E Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf09.hostedemail.com (Postfix) with ESMTP id 53300140005 for ; Tue, 16 May 2023 22:52:53 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=MhaC+t9o; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=fI8w2vZi; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf09.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=none) header.from=oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684277573; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=jkeUqBHDu41qdjmjk4mr8xNz0NrmYLPq+a+N5WQV+6g=; b=Vg0OMgh27RFG4SCgKXogH0GltUuspMPcGOIbARl0Un419s1w3vEHwB3Yxtsb0PAPl0W7Re qzGnjWfrFVNuC587WprRGncUuqlhybUqcQ9gLqWb2hBwgaAg7eCT+Qionxe8K/zlOaW5UI 3hTKoqmQ9tn7oIa1nYqKeqeV3+HnXAE= ARC-Authentication-Results: i=2; imf09.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=MhaC+t9o; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=fI8w2vZi; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf09.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=none) header.from=oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1684277573; a=rsa-sha256; cv=pass; b=2NpwN0mvkGOCDoDb682vorVHGHYEdakesvD6Sq++Cl/CPL54VUO1jwgYEJbpDYzC81959G 14RvySSTledc/RiDGQaBcZB++58vbCW/8HFy6jYqyDYcATtSys/uMpht++r8Hn01BlP1Md 8zlzjuBbCm0FV0dOZBFXhLKtiaz7Mn0= Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GJwq6a019718; Tue, 16 May 2023 22:52:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=jkeUqBHDu41qdjmjk4mr8xNz0NrmYLPq+a+N5WQV+6g=; b=MhaC+t9o5zKM6ArmwMSmvAXHdh3xoUIfgiJXySMeacBtJ1oF3HEGdFt+Msc/5mGKwhNi fi+KCzcXVzsBgFfd7f01jdkIkxIablI8yDtXUTFNyWjhJr5X2n5uoxRz6FWzrxCDG/kO hOEkZ6GHIoHWQiCCEyhfWxZvt84az7OtF9zJgmHK7Y0R+BEJi/FL6V1+Nx431bluSCx7 YSy/1C2YbG5W+GTV/nzAIl2t0IkYheZNrktjw3fLlsMqJKEczF7gMd23UJrsI9yQOfse BWuSYJ2umtTS4vfv5Ur/LkHrC+fx7MHHhkcLg/WpM1Ln0QZZslbjbJN8xM/11K2oldDP Xg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj2kdmjpn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 22:52:28 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34GKpbmN033897; Tue, 16 May 2023 22:52:27 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2104.outbound.protection.outlook.com [104.47.55.104]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qj10566mt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 22:52:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NRQJzsPpVa7F1Vz+aK0gk4Wu7clVK1zFn3puWEB6+vTG0mCvcza3NPEIb7S+k6Jorq7lCMOTEwHgMl4VCIGuTDpxFTCG9yKJ3EdWWKe6tFvr22lpxX1TWpiH4L5DgwkyQYHVLhicTedcmP3NGWkBseEO4epMxtbjG4EgWcZEvktVWsloRp76qQufuUevfF4FmWbExDKoXhzsRA/DJNOvN3ICWn2k4MfADQ8Y36U2L1OILrvzux5dSz7HZQecNzK7eOh8WleCG6ndQKzHfnpAI52XIQUvA+WA4IZSdOBJGOVKVya6GvxXM7MIASJhJJnJG53m6ZG2meyYc0Wm6fx1Kg== 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=jkeUqBHDu41qdjmjk4mr8xNz0NrmYLPq+a+N5WQV+6g=; b=m6jpmkK4Kxzpz/X1zsuhVTh3y2+jOUXkhFXUkUkeuyM9y2P4hEKC03cX+SwlNPUZewyuFpptjE+Xh6wcoqxNmx08Ggmb3qkTRAixElITPBVw57BdtQ3zv+zW8D2+6TR5xXrBxU00QcBwAM24uwEVj35Sq4dbqsB8Z3OAswMQ0SMND785UKbNyfPdBv5LC/iaoa8rw7ovVWSvW4PBvWJ/x7S/IrnkPinU9cYqa3qJUfUOVARAuFoIk6TYnKbZNGpub0NjMcAPINik59Yj1Atn2YME40wBthvPg9KxFiuB6IEKis0ggn3XZ5TlrH1M9UWCDQKAw3JgGfAinRWALrpSwQ== 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=jkeUqBHDu41qdjmjk4mr8xNz0NrmYLPq+a+N5WQV+6g=; b=fI8w2vZiY7VuTsBx1JjfrGTwdfdqDk2ZDJzRMIqDH9DpD0IUbrM5CBoCALbGCxYRPiHlSe7VO48mLfoqfI0xVx4hja2Hm910td6N/u2I6+1eKIRFymOWoRsIUVMYwdxR21Z/N9pxJRWAOTKQmmWLzPsjcaRNsPOqePEEkKY4Vn0= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by MW4PR10MB5727.namprd10.prod.outlook.com (2603:10b6:303:18d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33; Tue, 16 May 2023 22:52:21 +0000 Received: from CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::12d3:3f71:5b55:c342]) by CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::12d3:3f71:5b55:c342%3]) with mapi id 15.20.6387.033; Tue, 16 May 2023 22:52:21 +0000 From: Sidhartha Kumar To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: akpm@linux-foundation.org, songmuchun@bytedance.com, mike.kravetz@oracle.com, willy@infradead.org, david@redhat.com, Sidhartha Kumar Subject: [PATCH] mm/hugetlb: remove hugetlb_page_subpool() Date: Tue, 16 May 2023 15:52:05 -0700 Message-Id: <20230516225205.1429196-1-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.40.1 X-ClientProxiedBy: BYAPR08CA0006.namprd08.prod.outlook.com (2603:10b6:a03:100::19) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|MW4PR10MB5727:EE_ X-MS-Office365-Filtering-Correlation-Id: 07cd2a20-a149-45ef-ce6d-08db5660353d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Cb3qSuhjyq+c/FafeF+KpN+YlaQKrvAV247Tcq+rcRvOyhdvfVIwDSpUzagAEJz1rHvdsIpleHp1gp/GCPYKqCNU4VrgUEUZ4NseSwTywTiUdYwrR62NBte3pY9a3fGpixv+ktnkpijnIGCUrgDGh97pN0bnEMGS89uFYitk3vqLKI+6I+52MU4Sgden8UzeR48OWdy5b4uOfw807qFBgLqdksH/vbFVU1ptbkRrBIiSeyc0UE5Lj5HBuyytDhsYnG1PUUlBzJjtT4PFO87V/UICA1Qe16GFHso5OABhwmtvbUYo/y4cbUbyWjJOqwWwRU9upydQBKFxTUVzZd5Yfdwvj7V5wWmrCfbSXNpz2GxNKNP9vNOZcn8CXnhqj1axjzMkk54TWbcQUDuSGJpgJrNPWOesF8WnY1s0DBEoFKYzROzq1SghW1N+iZvDS7d0h3QndjqKTfYxE+j293aMDGq8bSoZxRqHV57n3ygiCVlW9pupkx+lieFvIZPxxb9ToOlmmz7KRkA2XjmwbtiKn0ZfMw2TjfCdnPZMQDoV/r8f1LQAGG7O048LSgTYxfCi X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR10MB5113.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(396003)(346002)(366004)(136003)(376002)(451199021)(83380400001)(36756003)(4326008)(38100700002)(2906002)(44832011)(8936002)(86362001)(316002)(8676002)(5660300002)(66946007)(66476007)(41300700001)(66556008)(6506007)(6512007)(1076003)(186003)(107886003)(6486002)(6666004)(478600001)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IfkP3RFh4OoYdisG3S8S8YIj8X0Cpbr5tUL99jD2NM9joz1zjJRI9LZWl8CAH+Mhv2maHTloIT4U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Fxt/EontZdUceO0a1j/Ac7Uessru6dmdEFBTF3RbY5rbTco/e2BmF867bvHJ0eI0yDTmXQtnMBYOLK6DtH76tZwW8OKx4LD/Uz3t6v9rH73bF55wP0OIBakr2Zu8jIfE2U7xNIEUXcEbBKRHqGEiW5CdjGiRaKHfprMmcMp02BY/15ZYEukTuKyjR5NXMNAO1jh/xOz/8F92ib4ibd7hLQVeoUBftSuJwddDoZsiPFnVY3eIXDmPmqx8mWE/+KdCozy7StrrRlGAMLlKg6OmdxMa2yBDX89m4DhgJAJIZ0p/VWaiOGyl9YdpfUgpqYR8HnAEKt7ELy+lGWzxM5DOrGvUoWh3ZBfUYcMh4v7rDeZp2WRf0XT4SPrW3Wwc3fS0RUFdTIM1LS0nHz8lKKQsGdw0mhzuZ5YRsGFq87XSyZS9sdmT2ASYdnk78ehEc2c7rBYVSqve82h+NCCJwOAH/ebM2x7Cs2LKOKd+t4PH2xmZGXL8b X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07cd2a20-a149-45ef-ce6d-08db5660353d X-MS-Exchange-CrossTenant-AuthSource: CH0PR10MB5113.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2023 22:52:21.4967 (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: vLzAFnc2FoyyO+KLGwFqXPMApPmJIREKBjBLjhylKtnZWKfKJaGLE1NbJea/QIezxhfp7ucjXttBP5T9u0okLRRWvkmITb2U2oGD175vWdM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB5727 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_12,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160193 X-Proofpoint-GUID: k6cb8ITS6GvaQOB_h90M3S5PlnnU5DGR X-Proofpoint-ORIG-GUID: k6cb8ITS6GvaQOB_h90M3S5PlnnU5DGR X-Stat-Signature: dbmbqf1cj9i5gwm6d5m3iibp636uk8wf X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 53300140005 X-Rspam-User: X-HE-Tag: 1684277573-314769 X-HE-Meta: U2FsdGVkX19Gw3CqahOpoOVt3nMBEaENwGZpaZv6a34TPpoj/NRflooeTJSz+y+0ujF6/WaHFau9CNajqpRf9NpxQFERWFc3NCLyucc5xlKO/vbKSqiR1ebvbNXeuUOrdwbfZsThY3vD6THiUZmrsBJ5od+ctrWBfEJYJhC75MsieJ/zNGOyDhGsHwkCfZNW6XzVTdZXPjUfHD0arMKG727W3+YpmmN00BMh4B8p9jJ7I8Upf6eG1h83W+FINDkW6TcEcvacQkPe3WtmmB/7ahLoiGl1Cq/R597QqEVfsvpV3XKKHOfwzQ8sdUjmbCUXqUAibiDehVHLPcZgElOsZ7/qYed8ws3i1jolA0jpyj/HiLz7eRvY22gjmE60xrJFryEio2WddCs7kON5yudGqzIMl+BgkJhr+ApcOwF1XHuooPhibyJGnFUkwNu9CaI7fN1eIrAq//hw7GheQRLNPdihaK9HsgdRup+epVx0DsVlzj0v/SNa1EfY4ltZpYgwYPo6Tr1cgW242ojqqQHLQY7XCXwi5nCWMu8zysqDjwdYzlkx8Hlq1KYABonQmvCj9ZJzoy29dHnI7GPNwKMSPM+CZu5z1GQ3nMxOqHcINQlW2OWJD/5GMn6IWGpn/Lsi5JkGyCbiGQzD7Ay/MuO1zT2yTlWHli8kuSgIv2bClxaKbtKKyXFVVSRdPRJ+dOuf6O3/V7uebVRksHV0BaGE32sNx3ggRmiwzHFbcJH+nMLbGAHQ4PXnw8baTIRf0aHp5BLbE7GhjwMA6KOaoyQvZevNFT2V08/okwigRGCUkpzUEDVUP9lXOfbsev6n6IvTIhCIz6TFvtMoFI2IjdE/HiVH0raVKivZJWxCRbK26T7YvVxdf7pnhdwi3Fl8g4Gs4tBPZRPc4iqNUA4BzR8trs1BvmXAijsaJ6uOoghoMEqpS+y4Fwbrsa8zMzIlpsOCKDAKZTRu7NfgVQK03RK 1HVsOeBm dKl4UEJO3PE41D9hVOr41lOxIW0Nz6hJY/9qwh8g6r1xpErgxFaXBaN3y4NayQeznjdeaDUFDfEvVdGfTf9ST55oTLmWBicjyS94Orc73W8KeTDhb8nCDEBBFBCxRfn4jn6v1CFGlnsQBI9rmzLaFZRu5tRjxAHxylRZba/zV8cZBZnWUehhW1qvdvqqALijtGoNo9L/LnHL/f8/4Fl+ZjYUFaG+y3wXsrOwqnNVNsTTJ+e28Uk6hApiP9xfeK75eDEolHy2MIChMmSSB2YfIDw7upW4k4jCxfY56NZaThwjn38g35u5/7ZmZ5ThPga5YhDKyDi+GpIJhpySDDNNBdY8g5WhaAILNqNn/+t76ogpJgQ91WrA3KDsWOMiixkwLhaeb7n/O6ZGVFPEMNgpB3oF++xsgr4prBoje+tm2EIhV7TM= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: All users of hugetlb_page_subpool() have been converted to use the folio equivalent. This function can be safely removed. Signed-off-by: Sidhartha Kumar Reviewed-by: Mike Kravetz Reviewed-by: David Hildenbrand --- include/linux/hugetlb.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index b2b698f9a2ecb..21f942025fecd 100644 --- a/include/linux/hugetlb.h +++ b/include/linux/hugetlb.h @@ -755,14 +755,6 @@ static inline struct hugepage_subpool *hugetlb_folio_subpool(struct folio *folio return folio->_hugetlb_subpool; } -/* - * hugetlb page subpool pointer located in hpage[2].hugetlb_subpool - */ -static inline struct hugepage_subpool *hugetlb_page_subpool(struct page *hpage) -{ - return hugetlb_folio_subpool(page_folio(hpage)); -} - static inline void hugetlb_set_folio_subpool(struct folio *folio, struct hugepage_subpool *subpool) { @@ -1029,11 +1021,6 @@ static inline struct hugepage_subpool *hugetlb_folio_subpool(struct folio *folio return NULL; } -static inline struct hugepage_subpool *hugetlb_page_subpool(struct page *hpage) -{ - return NULL; -} - static inline int isolate_or_dissolve_huge_page(struct page *page, struct list_head *list) {