Message ID | 20230804165951.2661157-6-Liam.Howlett@oracle.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 8DFFFC41513 for <linux-mm@archiver.kernel.org>; Fri, 4 Aug 2023 17:00:47 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 161B06B0078; Fri, 4 Aug 2023 13:00:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 111968D0001; Fri, 4 Aug 2023 13:00:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EA5EB6B007D; Fri, 4 Aug 2023 13:00:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id DAA596B0078 for <linux-mm@kvack.org>; Fri, 4 Aug 2023 13:00:46 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id AEA62B330D for <linux-mm@kvack.org>; Fri, 4 Aug 2023 17:00:46 +0000 (UTC) X-FDA: 81087036492.16.EF11E0C Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf27.hostedemail.com (Postfix) with ESMTP id 45EAE4003F for <linux-mm@kvack.org>; Fri, 4 Aug 2023 17:00:38 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=xn6DBMaf; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=XdI4kVBT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf27.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@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=1691168439; 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:in-reply-to:references:references:dkim-signature; bh=+FX2dSTi4gdLWV9WMkxLANUNbJ9NL7dPJboXF2A/Zbo=; b=3D7o9pEGqMz7EM235ufS+N+ZavRq/qU09auHAl1vxmMcIlfKWN0TLKxnqZlNe+qNHGTSXj 5H79+hLLc59QONk4h80XXfKRy2MNwkt+kvZDUEb9D2zGr7A05vczsY9Jx+N0lt8gKjuc8C nqToWPKUDCkUc59R7PaoHznlpMlF0oY= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1691168439; a=rsa-sha256; cv=pass; b=EvwLs5us4CtJZvbtsLymFNypP/8RhWKAN9zTjl7qJXWwr8dGh7Yizl54hziqz9CHHiflAC cclvJw/CJxTQ4vNjc/KQmxgSmnp+HRmmKwinjc4eASwQsBbKVSdzyeZNBQnboEIjUamSgI QB8EtOgT51QetVaPCeO6+X6JmaBzVv4= ARC-Authentication-Results: i=2; imf27.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=xn6DBMaf; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=XdI4kVBT; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf27.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com 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 374Ei3U8031787; Fri, 4 Aug 2023 17:00:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-03-30; bh=+FX2dSTi4gdLWV9WMkxLANUNbJ9NL7dPJboXF2A/Zbo=; b=xn6DBMafeB1x+lfRrzT7+/6MT0H2fl1f27DhyInof7u9t8E0krZZTurCAFrJrDM/eWfO uPtm3FY3j42agfF5gptNChFCnkZyulZZ6QCxbTx5N2h/MgiikvEcmtwkkyUvDbwKCWT4 TCY/nRjUSV3Xa1SBn26HsacmZ1bwiNsuDZ4LiLL3lEiS9+ymHuRATW77qhoSoU1LV/aF Lh06klQo4Hc8exh5ISwEkYHN6davLuY03Tn1bghlXwx13SzRRdxo18Bs3/CBEEpDkRbb xVdnuJU5Hp2rUZyRXyABoe4MMo159zFbLTszMOne7TmLkLQ7eFge/nZkYCZkD4YUyKy/ eA== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3s79vbx9et-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Aug 2023 17:00:32 +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 374FJgoX029618; Fri, 4 Aug 2023 17:00:31 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2101.outbound.protection.outlook.com [104.47.70.101]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3s8m29bngp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 Aug 2023 17:00:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iV11Fx5Mx3I7s5MhB0JJZrs3TM8iRA2sq/BabKICYxx0pq8LeszxoPuVOk9JtLr+n9MciKy+pKVun9XCaKhRU1bzvwQzdvl14bdOLM1Zfw11/1X3Ob+rORTZ9UntULXEMa3PMssYAuVmeoSCnuO5Vg3/ie7Xlf2VGM+8cLPSnAfdk0JbQ4JP+DJ2yTvTuQSsrViUCBO11dqDVsSbTgF7KbG03eanWERUwgV2WyDi6QCYVyD1NtNUM2vV0aMw6xw5BoDx+y212jvjGHODhDFJEGcBkt4r7T0VKxHgDkBH9B335ffMpR8IM58l4a0L6s4kkKKdKS37PsemXdshaXqpaw== 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=+FX2dSTi4gdLWV9WMkxLANUNbJ9NL7dPJboXF2A/Zbo=; b=aldS8nkp/efxtZ5Und2PzaNbRnHGJ4MiuY7wPN7TMxzYD5C8f/+SWohCCL7Plh+BOxagZAT12KCal9GlA3IUPx59k9I2qRWTERs2rOQ1OWBuVMXlO9jqyPyrFB0nab4zepH5eYLgIaIGV2TOzgrbRjy8QYQkYpWZ3BMvm+UnSi9B0pKNFJyyWIKsrFj5Hx47IsZFnLAbuOBMaerDTKOOEl06i/3Pw8W88pSdRUJu71hxld8LozdoByMumeCi06zPC87dGCG1osyjVRbUAyRe4b3pBoeAa9xJ0s+c1OL/lazFdS8gbLcQdJ4AITCnEjTwT2ycEZHlW9R8fu1vcFVMRg== 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=+FX2dSTi4gdLWV9WMkxLANUNbJ9NL7dPJboXF2A/Zbo=; b=XdI4kVBTxIkvEc1SWjy3RNJ1RETCKfL0WB2JkP8RiGyqFzBO6PZ2i6s92REY+Nu7XGOsCUUA0ZHSSq1piJeBjxF1oRtwls9PpI7+jCYE78vJDWcSr3zAJbYY2/Xr3LK9L6JwNli26DD/S22AvoNPNCCXh8ww/9vx60MFD0zCz/s= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by CH0PR10MB4939.namprd10.prod.outlook.com (2603:10b6:610:c0::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.21; Fri, 4 Aug 2023 17:00:28 +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.6631.046; Fri, 4 Aug 2023 17:00:28 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Paul E . McKenney" <paulmck@kernel.org>, Suren Baghdasaryan <surenb@google.com>, Matthew Wilcox <willy@infradead.org>, "Liam R. Howlett" <Liam.Howlett@oracle.com> Subject: [PATCH 5/6] maple_tree: Change mas_adopt_children() parent usage Date: Fri, 4 Aug 2023 12:59:50 -0400 Message-Id: <20230804165951.2661157-6-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230804165951.2661157-1-Liam.Howlett@oracle.com> References: <20230804165951.2661157-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4PR01CA0414.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:10b::22) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|CH0PR10MB4939:EE_ X-MS-Office365-Filtering-Correlation-Id: 6127e6f2-a361-449d-471f-08db950c4dbd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kdbRdliBhZuprvvy/Bg/p+D/lK2ECMsIgcXW5EghNkhprQFJoPwMdaXDKw8d+dVSBr7Gsq0lJFmf+fHuFp9AC9PUavamTZrseDuRKlgdZVnXhUyNODTFiNtLJL9DdegchhmwhWXXddtDzrP1wwHy+0ESlJ8QMIohH1e13WtXU2/7529/rUQRanXs++BaiYY/1quLqaSjC9Fjzfdxn0xH8NmQdY0WUaQMC/cpzvBAHT76mmRGwR6/uDMCzAaTGDwl20dSX8JvlHmFn3Jfohiv1ftiRocb7hlFiiLvKjjMvLD5r8Rlpfj+T4Ae28y/El+JuFjtPsMxMt3GHZWxshsHx8jevRmvS8vStC9yO45Fpe4XSpXjywd6NMWETsFF3fMFCf3tcr0Cyci8uLR+hfId13vN6dWcuWx0GY0k9Vfz+rSluwslsO6lsRuhrL1npwPxH1JtCDk/dF3vF8OljrjNTLxDgkPhIY0WI+nctMJfsZo2Yv9kqDK+vfWLKVBqjIjM6F98d0QGN53SwhJNRbIeP5zglN0DJ0Y1JgGdtNIanZDWQ/jTrGffiMNFaj/2c7i4 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)(366004)(396003)(39860400002)(346002)(376002)(136003)(186006)(451199021)(1800799003)(6666004)(6486002)(6512007)(86362001)(6506007)(26005)(1076003)(107886003)(36756003)(2616005)(83380400001)(38100700002)(5660300002)(41300700001)(8936002)(8676002)(4326008)(6916009)(66476007)(2906002)(66556008)(66946007)(4744005)(316002)(478600001)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PLIrrkQQqcwypLoGVzPMoQDqCLXIncDCchem/Her+9352AQ1miIPhxn8ezpL33QOLN6pqOAdRVuS/rZOrnvn2CZZBPIQ37ElhCgbbMSSotp1aTZVthLAYROHm9MYUXmTi/v6RKPUeM29EdZmD/S9lNwBs1Js4Ayksuy/s1EwPaGe0DbuXXQ4v57Oa+bopTduuRLtctcCqfmngGqohOXHM3PCu4CQ4TOJllK9csTkn7xC9eEkFL0hIKJDEad24JlNInQUqd1+Ni+4G6+Aez7m5pbY/bXy4TGuJ/Uzzyv4oLSrhGv8BmD2dyyt2pmtrOSRch7Istdsk5TJiDn96wwS8e0zMRTLHIM4q5Mnzf5gxEVUMGCn+XlfMjCZM6xfh0YYVrOBnQfgDXrjTYqjvzF3L+YQhjydWTBlhUUmzzmy2OgLWBB59w0WQIa7i5TYgXhO8X4oJgQJU1RqusTEAbVrzgP+LheLE6sEQMdKWJmmIxR801UibdtyDk8O0XQjj8FxbAw695fvAvEux74vE3aApEVvQIlA/hUliiXFtjZ8yXuOdM2NEeaKdwND4l0Yv1DBGdkA0HpqdEvOdCADgk2zCj0QF7DMEKdWRcMuW8PALBqW9RDX8pv8MgqpKb7WyVkJnJ1+oAzZluihY4s9bq4Q1uKJ9cTH2+s2iWAHLTcGD+6jlbJfUmIplw4msblY+tdt/+Itv6y8FBd0xQD6bNUBvIVJ7Dk39HvwmdVuz1PKWkrqMFEGMLRHY0gX/bI7Jbz5JGo7AF6r8/nFWROzyCVs9VlmlRzTxSvrKAcK2hNDIAwyEcce4pU+wL8P1u3XwcIUg48UL7RTUU18pw0RLTTZthKfHCTltkdZatdbJMtcjwC301nBPO8B3B68gf25I2Zwj608OMQ3SVd9YQCFK1YRwtlkbvDjNCQ8blLfG+Iae+NbfDM01/iDtxwMrYea9I730SiTKtS6u/nXsmBZjQUfp+jt1Qjka4ws1iuR+w2oxDRBkXDf14b79WI+QzQHT2kPjOjaCHveOtidQOqaBKSTRf5D2H85K4JRADq1GSJUeWqam5vRL19RXUitdk3ZSFghRnFHSApnjjWt7PXELgw3YiSIzdunJ7H/2IgiNWEvWoBQeoI1ntOSQ1xHcJOCac0nyhEVpVv6XEvrKJ6qwNrvFi6iASG9TBo2xcWhu1UD0AYOrer4u6YcAiJK4ONDzaPNVMiu0HdkPgklC43h88EfbSSQMU4Sx9Asqtkv6WbKkfO+JShs1hRBJKmOOozb9/qyTEkBblINYJueQ9pMkUOn9f5rsWirV+uf3PHRECMULyEK68dUStctyndOsIuuibBSl5YvEN8xQel/UvZdxFbNIhPtIffP7evTsXctp0abnQEYmJpBdEuvYkDBJTOVknshAbVgWodp23z1sYrWBvekqCl5Hf17PwCfDkPLGBoz8IYogDmVH0btX6uUY4+yziUBbOvbfDdeAnkyK/kzeeH0bCHlllowNiv6cZz5mqfLzO3rf3AUPDY6rjhTA5mleLGaYO2ABWgkMfcLrMJSEerY+4QF9HPHNzhpLdA749KfSP62P7jWBf2GygQZASJUMIw1vysVcB2QB49I3fHEtcoYOg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: auEpgGJ5aUqJhWt2U0/Mkn7BrbYAZF+RHNg9UkWaiA5ZXwGg48F5r9r51QTcMg71W0i+rxWXnXDB/JrWxAdji/pcS6gYdviFSLRZoj5r/09fjg3ozk9qQTk5LwSJJ8X01cNDJEtX0QFEIQfNa3IUhGoWwAjCXvCmxvtd8Ai6zBZeuRUZPndM+6I0BaGxlYffDA2Pq9PXQMIuBDbUPcFJvAsJ/my5q1Zjf/d/xUQYC8MfjAUvE/MALrqUcBbf1G6iks8G7Q2ULPQBD4Sr0AjwuIZE2SXNqfLT+M6xPROoJaZLlJJXC7s4ebV7xJIjOtq/V1DP9E8VV5r7sL/pfJ60aAiA0vGbfEKzoKbRqZs20LI8+mUIcNivSqNWpU+H3HmIo7s9ZkVSqw2I9GNHgB59L/CWdZgDFDE0vpKNOviFLm9WCReaPoEqJj7c1OvDNctUoRfOOfK0yq4Gg/YakdmRfF2fvhk8qLvRxHtAz3JQhEIsgw6IqTEa0w7gBT+7pHojflf+n1iWzDpJbFr3qE4jqes+NWEFTSUBy0WixSTndHw0qj7Sm2jERuWBJEUq+GVRsMvuZEBZtvy/ojOKmtybcyidVJDvNRqA3DNsyFN+PO6Da27rLmQzsr9F1eMwK1WODBexkpJwT6cNTzEyUdZt0w6aIHyuM+AiaBo8J7dU50clXX6WWNZ2nObTV7iJXW1uqyLU8/j+XdEKAqk599mDrZKXntSQyrgbSzGFdA5PyYlUQSxpedFO/bXQ6txvW3ozDzBmVArzAlRM6GcBS6orLhRbVXkLUjZVekvpy+0Y0tKESfXbxX2Z1MiOt0aZWios9hshWjHUl3m40KlDym6BQH/BljJEVBwAeWFUWXMjhjwa1Zw5SU5K6EN22eE4RbhbSGsOhMF3Yy523OjgiZTeGfkTpUjH/ayeINhlVOmdDf8R+hlULPTgHZtTI043lh0Hv5/9T65wz/T/rcSJ3CLjQeWzop7TN4E7Uk1ZUVzd5fE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6127e6f2-a361-449d-471f-08db950c4dbd X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 17:00:28.5940 (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: 3LWLMoZ0eeUWD5WnsyOgJ/QYUBMFaZ2XUzE/oN8ZuJE5HoDmr7Q2u06AUglyw9/dOXaqahkcPM/8JYrdkAMhXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4939 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-04_17,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308040151 X-Proofpoint-GUID: xS_U-pDC2ZxjaOzu5KYktNiTOmdHJga7 X-Proofpoint-ORIG-GUID: xS_U-pDC2ZxjaOzu5KYktNiTOmdHJga7 X-Stat-Signature: 93gxhti9do6enkj7his4rxah5uy5prjc X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 45EAE4003F X-Rspam-User: X-HE-Tag: 1691168438-382927 X-HE-Meta: U2FsdGVkX19+AunUPfjXF+LgoUkLagFqDrlei9YwdR3UNOc+XdV3ImKMMN/XyRrAwEjc+qQsV3t8aCg9pzNhede+ffpJjClSvrUxvxbhSnN0IGmOGF7cDsLE/5hXcpwvcNZ/W3rH9aQv/z/rWVJV2DH0GEAAWmKQMgaWIo+DvD6PoV8hCNLVaOZdIXY9ri8Uiz39JIRoD3R9g2vRPYK9fAKquscriVV0+D6OhPjjJgVfWzWAwUItzhgMor/xGf+zkuUBfPc8VWVKVhf4Z6W6kDYK924alPpdPC8P1e11myFT/Xyl1uOviSeIGxoMfD/oVBhcu5K2uyJJfclCM2xituLE63obiQK79QFpkuabfWlObyoYcnP+HP/ByEM5/ucVrxxRU8gjKkgs014gzh+Heehwk5x+foxo3NVTsQAKn3Sw4JFNp7T6ASk1+xTOfUL7Rp6CT+HGhRq4ljeBPZ0fFX34YMQP0d7iKjNuhERY1FtdGzLQE+TGngRPgIsoGsn+E2qOnOeexvwEG1HFk8liNi4P4hv5hjsF82V51C1z+3JKxJc7v5w5GL59at25aTdTnMNpy6wS13QBQ280Zs+RKc0j5yfKwc3RAiAL9xqNvS0/ExgwLG46y0tf+QIvyB/VxCWYi69hN5p31DBQaxzPJtmpeEz8LZck3eBw7NHc6MDu3uLlyP1NRnCEKWGZE32rJPfsCLf3+CQdhpHmN+6UnCls/qgIZTxAcI6PJbn2u7/Q0/LMIgnPuqDkU8HHMiH1mS6A6PQaImfPSIOgCNIY7Rr7DksRe5RmSXVIxpfxFA7uHxiBzw02LrdkyHW7B9AVV43fazXi8gmXfyuBkUdLwxT/+/4aB5JbDPMqN6vC6H5oiymzQszZfV0XVp/TeXt3QuMT74hDH2IeCKGRkoKJroK93Zxna1n2Q961TDiEHO3MGBppcTm/VUTORyLhcUb8pwlQWEWEBBnacqFnOP7 OTBxZmQo OmSDgLNQjvHekYwDlkPCf1mC7ZeBif2Xp910V5Eh9iXmKFEdH4dJcmdQgB21x2Sx7r+ZHsQDffo+6ZWiRaHLw+iow9/ihJEnv0BucXvTYlHWCDTzkiGGkEWJqX4LyNSpNXm0N+/fE4q08KGKxmo4gYYH7klS7VOEvQl7gf9UM7mipmqjD+RiYgRNAeoUyHUTi7/HdMcbxG3A1QZmIZqBJt2gTj7Be5DEE6tgsX58qCdpESMKKUuUpEttLvTkKNF2KFsHz0eCEnrgXseFA82aZl652vj1/5gVyRuLMNja/6UoZL/qj3XB8ehnPkmd3yn288V2GOHPRVVe+EIVTuKadI6BXQ/ra9mFiqmNfzNuja59WDEK6isVT+OnPxnsen0g4NIf8ST13caVi5C12pUBb9ZhGC+oy3uZQQNiBdSyvXRzaZ9I= 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: <linux-mm.kvack.org> |
Series |
maple_tree: Change replacement strategy
|
expand
|
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index cf41e0dbb87b..8e94f5495a97 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -1702,7 +1702,7 @@ static inline void mas_adopt_children(struct ma_state *mas, struct maple_enode *parent) { enum maple_type type = mte_node_type(parent); - struct maple_node *node = mas_mn(mas); + struct maple_node *node = mte_to_node(parent); void __rcu **slots = ma_slots(node, type); unsigned long *pivots = ma_pivots(node, type); struct maple_enode *child;
All calls to mas_adopt_children() currently pass the parent as the node in the maple state. Allow for the parent pointer that is passed in to be used instead. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)