Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1143947rdg; Fri, 11 Aug 2023 11:05:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1Hd7x5SFmi9v7iLmrUW0hi27QHBG9WKPHFhHJvehnGj1WKlf7MrHV8iRaA5R3yyA/rZ2l X-Received: by 2002:a05:6512:308e:b0:4fe:5fc:9c4b with SMTP id z14-20020a056512308e00b004fe05fc9c4bmr2113176lfd.15.1691777109018; Fri, 11 Aug 2023 11:05:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691777108; cv=pass; d=google.com; s=arc-20160816; b=APpUYcPo0166EtYQFbW8sbrCNbLVlNLWEDs7AprhobcjQiQkKfwfmLy3DUV4sB1+Kb ejWGwEdltUqhW/BeGVlbyK4xXLWUn33gX64+hI90GgLK0drG4TCzntU6hXSs7jILx4LQ av2C4gDBS9JN47gBhsUsls59fbBFwKuvdXucFfWjTNUkjc0qdIS6lrTZgdkJcIyPhpvh fkjJYLP2Qug4s1/v/jqgYj3bljEpnKDLdose8whvIlRmVz6NdD2LSvcVGITYllxn1wpc aBIsB0uKQtyfjSxzdbKixdKIUe+uc3V368D9TFj0wcwwNNIyPDDP27CJTsgvAomlVjBZ 4+kQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:in-reply-to :content-transfer-encoding:content-disposition:references :mail-followup-to:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=QVi2d176fTDfknkkhiOEuMqH/u/yKYYNHfZ9/8aRMP4=; fh=GxbQ5J7WMpQtKblRUKspKhacTP5UNv+QGI5dR8qbnEg=; b=gPXvExsNC3RXmuNPPhnOc/etsavUtH497i+UebA+cblMlE77Ny+skf1797m24XP5KX KzCbvZ4SnVJ49eXH0TElYUsax1fojT7usTwB9WkWNxzfHCyMp5w23q4Ti10zwJT5VkWT aAiPpnECjItOryP3gdQO2mW+iobmtotyfoGDy/rscAVbHlSIodDJb6HJTCqDy9AykNRS SFAv2P8AS17zpZn9hdkHJfNLJCnX/vQDdd9rl+58qzcc/pzrIw1c/3vTCXpCa/Fr1L4b dNRyUUdGRl70/J7Hfn+eLzYFxj7ITEHNdQN/WtotRwe238sI9nZPQ52sBnnAfP/ZXfhl AOmQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=Uw3MntP4; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=H1+Phz2h; 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 v3-20020a056402184300b005234024a300si3556976edy.362.2023.08.11.11.04.42; Fri, 11 Aug 2023 11:05:08 -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=Uw3MntP4; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=H1+Phz2h; 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 S236302AbjHKR3F (ORCPT + 99 others); Fri, 11 Aug 2023 13:29:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234086AbjHKR3E (ORCPT ); Fri, 11 Aug 2023 13:29:04 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42A1B30D5; Fri, 11 Aug 2023 10:29:03 -0700 (PDT) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37BDUUJ3014430; Fri, 11 Aug 2023 17:28:28 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 : content-transfer-encoding : in-reply-to : mime-version; s=corp-2023-03-30; bh=QVi2d176fTDfknkkhiOEuMqH/u/yKYYNHfZ9/8aRMP4=; b=Uw3MntP4EmARcZVcS2IF7FAdjpNf3vGS0+PDi8Cver6AW1SEeWM6PCnmMlab5FEm4SsR s7Um4usMBpTk4sk2lK7p6X0sGcerin9ODqOO1+AWlNQlD3KlehoRMlHBdsOfa93J4t0d zy6SP6YLF3PYiOM4RRha/i3lAw5xo3TGmXbWFVllzcZYw23zeI861wL3pX/1ohndtgtG poHrb38Q0vXYyJF5c5X1QcQw/ZkV23/kNzzrunkecgpsJXlifh3UdCthiWvryw1V0E/F sVDD4bymnBTKT+A85g5CSVFxFPU7I/Khyt/PHtZ9AaTxDzGKbWlxLxYvrRTg/E7HeHTm zw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3sd8y3shms-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Aug 2023 17:28:28 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 37BGOaAn033391; Fri, 11 Aug 2023 17:28:27 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2109.outbound.protection.outlook.com [104.47.58.109]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3s9cvamm6k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 11 Aug 2023 17:28:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FPb9v262L1+3frAET8VNd9QRDRsT40Lzqr+IKBrP1RGhGv+cARivJBb6pbuCF0V30Pfd+YQfdOjA9UPzP3URcecjkk9pQUxlRiEv+JENX9FPL3GDFDrjhXox/LtrH7N+j5bUv6rlpIETXWBnMAzhkHsiFh9YPaw5JWJu1o5eVjB6EJxuYGyjJOHhtuUbtiDP7r2rDlnB2+R3CiQkbTu6OfkjoNgeZnIzzlRP3vAEJHfGXb3JdLi/y5MqgQ/k/MA5vrxVj7Bf5F+1+we2SNwbAs3hFt0PEtdoLCjlHv+xtGGts39vdag5kGzAZQAcG5xSA4D3bOO1udjaHe/TB4wD2A== 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=QVi2d176fTDfknkkhiOEuMqH/u/yKYYNHfZ9/8aRMP4=; b=mtrJSSLs/PYr2oyQKZFVElrAe3iR2hcb8l0R/zxtqWilVLmTXQ/Pl6m6OSSniBv9Vb3i9+dl6hStuiEOlOvUQ/0V13gdgnHwERZNGiuitGQgcSE7jRrMPSLnseQMR56aJl+QgqDALV9fdGeLiqGKZVkE+xxfX6MQh4U1zu1m4JdprfNoE3WJqzbqzMC+xr8T3K/8o0ZMCLemxjoUJlMHgA0pLZtIXIVQ5P7dobDIZYDQqY+iFXSIPH8nzhFuxf3rpQySoBb+7HEjR7f1XOmVZ99gpvyTxcxqLYqQKZtvLg55Hhsz9AZInhWCbxBvUvaCPh1Q1jkRLgwyLUkJF3ssgg== 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=QVi2d176fTDfknkkhiOEuMqH/u/yKYYNHfZ9/8aRMP4=; b=H1+Phz2hRiqqk4TFYU9M7zTdGyUPB3nQzsqej7kDzeCnRALAc6h4bE2Xk/Y/RTdlGSv0i57brR0vEKUKBV0bawVYE76tLZuGLrdwKI8/P8xdF3c4d5Nyl3ad8pnXnI+UjAVZrfPpLhoSiBAfOzbfaC7m+3VGJ2NgpnEbTItpGoo= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by SA1PR10MB6638.namprd10.prod.outlook.com (2603:10b6:806:2b9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.30; Fri, 11 Aug 2023 17:28:25 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::26d3:6f41:6415:8c35]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::26d3:6f41:6415:8c35%3]) with mapi id 15.20.6652.026; Fri, 11 Aug 2023 17:28:25 +0000 Date: Fri, 11 Aug 2023 13:28:21 -0400 From: "Liam R. Howlett" To: Peng Zhang Cc: Matthew Wilcox , mathieu.desnoyers@efficios.com, npiggin@gmail.com, corbet@lwn.net, akpm@linux-foundation.org, michael.christie@oracle.com, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, avagin@gmail.com, surenb@google.com, brauner@kernel.org Subject: Re: [PATCH 03/11] maple_tree: Add some helper functions Message-ID: <20230811172821.d5kmts2j47kzjvg5@revolver> Mail-Followup-To: "Liam R. Howlett" , Peng Zhang , Matthew Wilcox , mathieu.desnoyers@efficios.com, npiggin@gmail.com, corbet@lwn.net, akpm@linux-foundation.org, michael.christie@oracle.com, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, avagin@gmail.com, surenb@google.com, brauner@kernel.org References: <20230726080916.17454-1-zhangpeng.00@bytedance.com> <20230726080916.17454-4-zhangpeng.00@bytedance.com> <20230726150252.x56owgz3ikujzicu@revolver> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: NeoMutt/20220429 X-ClientProxiedBy: YTBP288CA0005.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:14::18) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|SA1PR10MB6638:EE_ X-MS-Office365-Filtering-Correlation-Id: 2aa27372-6519-4ac6-4a98-08db9a905e64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MXCTAVEezorvqT0ydjf8YJDc0pk+DkMm5b5BuMC7Fo77Iah8z0APpM4Ya1TtpEh9POlIJuMx8EoqEExFKUoyj/QM7Z4FuG4QhK7JT2WdUx6tJNKapxnl0Lmq4TTAfNP66NE6hKPklaNaNIuSy243w+zGhnZ9ygsPshlKCR8DywZQDJ60UoAaeRQK1RizID6lDUcHQqMtrMt+6YEuRhkVk/UszTSfYnT9fCoIBjrXE7Fpzb/Ad/uvAVzL0qiGgtLkoBvphayA3yFEi0StL+7HkyL4QaPfZd9lXhsve5mY1YCyLxZS3LLTvq1RJnznrFvTnWjEABBen6/FKXRqVQxm7IgThB1DOTjFzFFassre6aXzwWhEhfE55tc9mkVmbh0GtxwGV4uHXxpLq3Uifig1Ubiskf76Ey432xBnm82OZ1jnuV6NQ4cJyAWF3XqqIb3vRHxculdBFu5qoohGmld7C7S7sz1b2qXG0zG4e+5Zbg2/UDjKhgQjv/oGvTb2+Ik+q+97rfDdLstrtadU05beVuHXBS/kh3fzs/yPklns0J1Do96oOT1AEJbXRqu7nldS X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR10MB3022.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(7916004)(136003)(396003)(366004)(376002)(346002)(39860400002)(451199021)(186006)(1800799006)(6916009)(316002)(66946007)(6512007)(4326008)(66556008)(66476007)(8936002)(8676002)(7416002)(5660300002)(6486002)(6666004)(83380400001)(2906002)(478600001)(9686003)(41300700001)(38100700002)(33716001)(86362001)(1076003)(26005)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?U2tGQlNFUDJjbDMyWUZXc2Z1Vkl6TWRxWnd2QU5oc1Njd0JsbW04VjUvRmlS?= =?utf-8?B?NlAwckw3TCtWS20xZExiNzlTV2tnMVc4cyt4S2hSTGZmZEFoSW1oSjJ6bExp?= =?utf-8?B?U293bXlVUS96VUp2LzdNSit5SWFwbjZ2ZUxnQ2pxcllGOGxpRFh5M1I1R0FK?= =?utf-8?B?MVVaczdQYWtlZFdzYS9BUk9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6-4a98-08db9a905e64 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Aug 2023 17:28:25.4089 (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: MW9lM4D91CuHRZW5mSkvccjPIXDMe4R591vY4qHp37UD6PlW9Ntpi0I2h5CdIs1x7BEBsxJDWjYE80um070hYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB6638 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-11_09,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 bulkscore=0 malwarescore=0 adultscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308110160 X-Proofpoint-GUID: xVoefk-zByurejQCDnMjM4Df0uf6ShUX X-Proofpoint-ORIG-GUID: xVoefk-zByurejQCDnMjM4Df0uf6ShUX X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 * Peng Zhang [230731 07:45]: >=20 >=20 > =E5=9C=A8 2023/7/26 23:08, Matthew Wilcox =E5=86=99=E9=81=93: > > On Wed, Jul 26, 2023 at 11:02:52AM -0400, Liam R. Howlett wrote: > > > * Peng Zhang [230726 04:10]: > > > > static inline > > > > -enum maple_type mas_parent_type(struct ma_state *mas, struct maple= _enode *enode) > > > > +enum maple_type ma_parent_type(struct maple_tree *mt, struct maple= _node *node) > > >=20 > > > I was trying to keep ma_* prefix to mean the first argument is > > > maple_node and mt_* to mean maple_tree. I wasn't entirely successful > > > with this and I do see why you want to use ma_, but maybe reverse the > > > arguments here? > >=20 > > I think your first idea is better. Usually we prefer to order the > > arguments by "containing thing" to "contained thing". So always use > > (struct address_space *, struct folio *), for example. Or (struct > > mm_struct *, struct vm_area_struct *). > There are disagreements here, so how to decide? But I don't know if the > new version still has this helper. Please keep the maple tree as the first argument and use: mt_parent_type as the name.. if you still need it.