Message ID | 20230516225205.1429196-1-sidhartha.kumar@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp747372vqo; Tue, 16 May 2023 15:58:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ShTNlp/W/IOtU2kvKav0lIGHFVf447HnnEqkWKPf8YuPsdzy7YqZ3w7uIw7GGJqi5d/cn X-Received: by 2002:a17:90a:5a4b:b0:253:32b8:8bfb with SMTP id m11-20020a17090a5a4b00b0025332b88bfbmr2041089pji.35.1684277895986; Tue, 16 May 2023 15:58:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1684277895; cv=pass; d=google.com; s=arc-20160816; b=LWJyhEhlNmb5tvunfrkG9hOgIUH9cRSiK1gR+dp0elHpV8ZzWphpglPEReI3VnJuUE C2v2q/HXUUGtHg6HY0oHuKqF5b3DuT9SlE0jYhDeE6ijnk3rJR+tvfZma5/y4ptn+vXZ dPWap3Dq2wNvD4ar1nVKCyDjiyKYMWjYgoPY3OtPpXaLj7l91YHqPhM1AV9XDBWBvwW0 hjapAMHEzag4+bEBmBSgxXHophDRrtbroumgyOo7QrHyDH4/Vcp7lCidHsOFipnHmF+T 2N1bco0Woa3NVhGU4sySi04zlgl5TjGXL50h2LiBDPVMjZNeCidl33fgPm/3iPgDqAVC 4tSg== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=jkeUqBHDu41qdjmjk4mr8xNz0NrmYLPq+a+N5WQV+6g=; b=K8ZcX0yv7jRIrvL/DJLQhl3nj7a2eXNpav1MTNmmEV3+i33B2S2bTseURLAniZQfds 3g9cGLwjb5IQGWxddsV6LBzkTLdONzfcPd6QUigTC5errwzIDBLH85UAek/EsK/MSUUa 8Vu7R3Rs6hgoN9Ofi/SDx/xssO9gRm2thXT8fFjD2VIQpXj0lWYHoaBUxsfjru8OdfQN qy5zUb8xK7sfyusEzRr6OIJaGTVJpiJ0AV6Q7eX9zzKAWF4XQi4saCSl/ofkZk27Tp1/ BjjbYbZ0bV3c9kDxZiOC39VxXrJGqHTkj2T3bqHPy8QQUAzkmWjeaJG98yXmKTJ3lYU/ 6AgQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=MhaC+t9o; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=fI8w2vZi; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg7-20020a17090b1e0700b0024e03b1f374si331095pjb.22.2023.05.16.15.58.01; Tue, 16 May 2023 15:58:15 -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=@oracle.com header.s=corp-2023-03-30 header.b=MhaC+t9o; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=fI8w2vZi; 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 S230403AbjEPWxD (ORCPT <rfc822;peekingduck44@gmail.com> + 99 others); Tue, 16 May 2023 18:53:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230398AbjEPWxA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 16 May 2023 18:53:00 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8284D40E7 for <linux-kernel@vger.kernel.org>; Tue, 16 May 2023 15:52:58 -0700 (PDT) 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 <sidhartha.kumar@oracle.com> 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 <sidhartha.kumar@oracle.com> 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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+Mhv2maHTloIT4UkDOb3/XsE0qZtL+yZpV/Fvzjh1cdcvQW/pITANY3BW3XHD46/KbwQiELXtosE39TsSCv9f+xPlL5wz4UB5mgp00USPZLSrR5QcIxB/WBYw9OmoeB4a9S/XbqULxzsOCkg0DhRXRL2vJJHjNRrUxcX04jRkpLg0v23G47eVO5176FUIAh/nEFAtD4V5QW+AiF0WUZiAP/V7ZLXPNdOTWdQeaxD/f8mH5fz21GEXYcn8/oxdYgmIKdmgxw+P3IwNrKGjP/YRHc9TYP0iFioumvEkCcPf+RCJtP6Rp2bEo5iU1rKpMLIbnrBz55jnbdEAyvgWS4gQJDYfskrl44S0VBRl4zmA9JJbAKu2kHy1FfobmJKuVSF+V6QblEp/o54FYROCZUqKsu+Yzyuhj4efRr1BQad29BJkAweUmXUnk/57k99qatkfr02xczGfOcIT6yKUtvB0v9Q8cup9hkq/2Ar9S+c5nYLmyVe3NlL+Jb7HBkNfEHZHL/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xmZGXL8b 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-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,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766093379118588434?= X-GMAIL-MSGID: =?utf-8?q?1766093379118588434?= |
Series |
mm/hugetlb: remove hugetlb_page_subpool()
|
|
Commit Message
Sidhartha Kumar
May 16, 2023, 10:52 p.m. UTC
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 <sidhartha.kumar@oracle.com>
---
include/linux/hugetlb.h | 13 -------------
1 file changed, 13 deletions(-)
Comments
On 05/16/23 15:52, Sidhartha Kumar wrote: > 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 <sidhartha.kumar@oracle.com> > --- > include/linux/hugetlb.h | 13 ------------- > 1 file changed, 13 deletions(-) Thanks! Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
On 17.05.23 00:52, Sidhartha Kumar wrote: > 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 <sidhartha.kumar@oracle.com> > --- > 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) > { Reviewed-by: David Hildenbrand <david@redhat.com>
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) {