From patchwork Tue Apr 25 14:09:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Liam R. Howlett" X-Patchwork-Id: 13223373 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 3C562C6FD18 for ; Tue, 25 Apr 2023 14:10:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D0AA46B007B; Tue, 25 Apr 2023 10:10:36 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CBB8B6B007D; Tue, 25 Apr 2023 10:10:36 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AE8836B007E; Tue, 25 Apr 2023 10:10:36 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 98C476B007B for ; Tue, 25 Apr 2023 10:10:36 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 59513AC906 for ; Tue, 25 Apr 2023 14:10:36 +0000 (UTC) X-FDA: 80720098872.22.3BBB3C0 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf21.hostedemail.com (Postfix) with ESMTP id 06DD41C0011 for ; Tue, 25 Apr 2023 14:10:32 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="e8KX9c0/"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UBfHVgDg; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf21.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=1682431833; 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=hnIf8rM9FwgxfifBfgv8ptwUanorf+NhjcYAJVOIWxg=; b=2capRBwF35NLS8Hu854HP1OLhALjJhJewwZPT7kzvW01CmmDG/L6zx2o3HusPogh5GVAlE Igpeor8YldYSI+BkKZOdDvZ+AVKSjfUXI/Jrnt4VWEbmBk0xp6aiEjSGMpSVsK/aECEh9y Ept35dO6gCdFFEz0s38/REXrRM72wb4= ARC-Authentication-Results: i=2; imf21.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="e8KX9c0/"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=UBfHVgDg; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf21.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-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1682431833; a=rsa-sha256; cv=pass; b=XIc1IxWLVwfGuVeqFXStc4FMo2ji3QrnQ92UeTJc8u3Y5nAZoeDrACsCURMLaC8OAeESYA Pc+84zYQU3LqCuHWSKmPRy4QSaetXy6TE+EOSI6zKnOF+bMYSL1eoY0JL0nSV9r2xruJKs pXWD0nkZ/XtUExOszJnF4IrO3B3aqr0= Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDi1SK008675; Tue, 25 Apr 2023 14:10: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=hnIf8rM9FwgxfifBfgv8ptwUanorf+NhjcYAJVOIWxg=; b=e8KX9c0/gOqqHLZHmn926OWJ4lRQQjDQDiLmL883PG3T59LQJtqBF++mFfLQ/GqpkhGy euSZiqIph9Z763XLyN4wXN+Z714veYNsA77RXTw0xBL+9M2SjZMCJBHMIA6mGF+qBBA3 +lQI0GeU3H3WzBLkM+iyxUMnRpAVNWy9lVFrFrT5qm9zldiTS6NNLz/AgE5SuAcpd6nY RB4V/N9YqIwpoYP82mXZtVWsfgCQV5Gpjm1Og3SsQKX8ELrmodpd16xigShXE2bcVGQ+ 8VADI/46h8mcUOKOpPzCe4o187AgnJOQmuOEYIYJpsUD9EC4q0NmoxsoZtSVc90Z+3M7 aw== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q460d5e3g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:31 +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 33PDmQnF024975; Tue, 25 Apr 2023 14:10:31 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3q461crb9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CL/Ex5UXRL0RitVuIHkSmY9Q/YPhbyyBaW8J8lfLvniu4m7E0AGIXZiuCAo86dBGBQi5KFneJy0eT+z90vwH3tgO+diK4BjpcT1QqClphqZWx59R0+RzIvUYZ2EHnCskvuKSdQHZfH1I7UpH8pYPN8KgEIeGdyZf3vaF0qY0hmeRIjrIvlAQpdFieu5S1WF7EM6DZEoipQEkDsh2R+drnf+G5l/HrLuwc0lDLns3zRh0gBporIPgh90caaO9UJ9Ggc3YHQc78ZhDzz2nV/TAk96YGTp/FZoEMKvN88YtIQS5HheYNvBl2DQwmAjaI1/Mwbbduwbn19FBYi1gEAtiCA== 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=hnIf8rM9FwgxfifBfgv8ptwUanorf+NhjcYAJVOIWxg=; b=col8EehAXIZEUyzzPH4M9BG4GLm4C/xarTZzoXSEj24Mffa93BQPTeg5IVlEocgNN1ONuyD9Yf3R4FZ1QKdBxTrnXDyEVUaetET6PXWVhswwmLm6EsUm8sN5upccZ8eYsf6TtRoPvRNdLp6iNKLRza7YoG37wA1O3oHu9q0hWFIz1LK9aMeiMCuTEzzXR+C/ZwO3XMnmB4EkTOiD79qAXULEMrMF6QLjHyITYjiyDP7oU9gT16nZURLQSacTgzHaqJZA3KcdTHWfYY8bl/EirLT+RO67sEIeOqbX185QlJvwPEDDN0mqzbYbFPoEK7Vz88VXKHWRkBSY+JQl7+o+QQ== 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=hnIf8rM9FwgxfifBfgv8ptwUanorf+NhjcYAJVOIWxg=; b=UBfHVgDgb5s59gRxvDLBdEUYoCPrlj8dzfx/RzKxIGr6H2314vAJSofuvytQ9Jyk6+gDaIxQ5r0dySiMufJnLR0O8iK+TKovsiFKb1mwwBI3MdfWO3CzJSmt1qUZ7MVMO/5l2HEb1HfgwZXY6qxL65fNGoANZj8/pbVtAQIt9sw= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by PH7PR10MB6081.namprd10.prod.outlook.com (2603:10b6:510:1fb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Tue, 25 Apr 2023 14:10:29 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::8bb9:2bb7:3930:b5da%7]) with mapi id 15.20.6319.034; Tue, 25 Apr 2023 14:10:29 +0000 From: "Liam R. Howlett" To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org, "Liam R. Howlett" Subject: [PATCH 04/34] maple_tree: Clean up mas_dfs_postorder() Date: Tue, 25 Apr 2023 10:09:25 -0400 Message-Id: <20230425140955.3834476-5-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230425140955.3834476-1-Liam.Howlett@oracle.com> References: <20230425140955.3834476-1-Liam.Howlett@oracle.com> X-ClientProxiedBy: YT4PR01CA0010.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:d1::17) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|PH7PR10MB6081:EE_ X-MS-Office365-Filtering-Correlation-Id: bedcb2c7-8e45-4c4c-e780-08db4596d31b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HGz5brbAfEGjFh80UAcD51aj3SSgTAVCCPnv7m6n0spcwjtzSup1SwDGYlN1rwUhwL0DrwWbcUhPZu0XsdA1MJm30FnqUvKTWQM4/zA6t45JL6lDXgsuOo8ogy8zZMvy3NK5YX9RqBdIG+Dbzjzan+U+BvjTbdhvKW/iG+W99q8U0vRWD6zCvd03ugDjuvYxCO3htukCyaGp7Qzcmg0B38dGsqme6nrKiIDse1LxieGksJC5Ni7GzjJ+NFG/7W1f6d0srn8aY2onwuz+RRHCw1O7KoCseHTT8uuzc57YDKaZM6wQYYTd7NokOzuHjixEewBAdO6qEo+ivFYiOZLvefxGnVEjZjIQgaON5S8Lqq64dhq877SQNWqukf1Zw3QKCP3nE2uZcDotla4AM7OnFsx2FsdIKbMYOIH6RGK7k3r8CJWuzzOuGKLGUKF1tpD8wekBZbOocKpZ1P2UVzyZS6zlIUiHkJI9lKr5PHWbAvRMBglDtRL/k27P6+62vzLA3MMSr4nTJhX2d/ZmRtKZP/43sQyilio9wCDataEMPyWCBhEa6X9IhhK/+AmGFNPD 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)(136003)(396003)(39860400002)(366004)(346002)(376002)(451199021)(4744005)(2906002)(66476007)(66556008)(66946007)(6916009)(4326008)(316002)(5660300002)(8936002)(8676002)(41300700001)(36756003)(86362001)(186003)(26005)(6512007)(1076003)(107886003)(38100700002)(478600001)(6666004)(6486002)(83380400001)(2616005)(6506007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS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aLxNozrTNRdCxJdBv0ikbmoNyO2flijVqB07djnb9FAp3enUvT+LA9RozpsxHajWRtdzkZZKkYxr8iZ1wo1dpqhE5NqQ3v4TtlctgMV1ag8yV8bGoJFFgMjajlNSf14o2yJT6HnM6gmihifHMmSb+ht/Z54yWrBUI6EqyNvozIEg9HRgumx+p4W+DCx8VHDcLjdFYy3mLPqSdhF5cCr8K/6LBZT0kc03q7BE7044IJ9aOzE1TnfMVHwyhYsREbLgdRQkf87D2uQtSQXerUgI1ofBiAFsjsKyia1d0+EKdSOZrC9+MCkZI/oYL98Jy5SfT3+HptWIs1P/cF7p+uMTIVT9IUi2E+hTO3T027yskvxzmiZKAbUJ8MecuujyP5v8T6w5/lOWq4bRIfr9DynqEAmFp0fpT783fIkV1qfzmi7QXLYOyVfRn3Mrst2lDdvIDOGSqYDycmZCvTtWwP0Zm+wucqI2jXBrLuycQdH9d/WGIyTWcUkw== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: bedcb2c7-8e45-4c4c-e780-08db4596d31b X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2023 14:10:29.3438 (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: 1x/9hgqpXCuPycVrWTFYungAKfTGUMHhm+bHlta51dPidddZwVsTIVK1pF4Y0EB0+GGo629QhVF6dUEjCtRWYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6081 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-04-25_06,2023-04-25_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250128 X-Proofpoint-GUID: SL-jpWtxVeWocq1cX4LrM9CCghPJsP9L X-Proofpoint-ORIG-GUID: SL-jpWtxVeWocq1cX4LrM9CCghPJsP9L X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 06DD41C0011 X-Stat-Signature: kgdzqzn6c3saibrwsymjebtzehoi4r8n X-Rspam-User: X-HE-Tag: 1682431832-791470 X-HE-Meta: U2FsdGVkX18LnTgZd1WqEOt3sGku9tUBtPcB91rV9LEooB8ObYoBfi+x8Sg3BIRHPSSPcP4nRykyZLI0y+yCmK58jw8Y+qlV3y1GdT8glouNfOD+E3LssfLfTIVs0MeNv5earKlP8I7cpzC7ChT6b9N4xgiDH0H+xJBuWBaDunLzj3F1eC8haFhgbW5KnWExJuqS86ZoRAQuEaeAB0g1tKED4WIlil7EiIYTHPvVRnRmK4FBuhIielzN9wl6RZYV3mKinuJkWEznqBtfq6LtLV/TeR/4TXeLUwpavdiLYF1+jYnSGvcQHwq3Zku+g81tGkvohiPMDBWbGGn15lErqChOd9d6dTnih38p8nvS+jrQJvHbrq9lLQTazVN75Jsj+ORLxjAVINPZ7gqh54RzTj6QZNK+/y6BcGKHs8DyALpCDbSN5Bsc3HF7tCRIKz0CBkDhOee+OErFNmNdfT5CxA4pTV+js0p4Wvo10OgFHwRrLUChj2Dfw/BheMMdn2kpvIXMgrBMYe/CchzC+ObFqml6CA0vST7oYIuPazCxxSrHf48ryou+jt4cgSlZNWOlJE357/kDvNn/2TQr9dEOP1iEWrKl4UPWtrnvb9nzgWt22uSjikQUsVzGb1knS3//EvTkHuaNHmQR8rSzBPrudR8CSnCOZ1wIjY8/rMGU9ZrfwPKRAHsTyJP1fN/TvoUrg7JUWNYeG87a4OYtauBakkE9GAENeyYaTnUfrjNM7bwi4N13I3T5J/hI+zIpkJWUeDtsFRHR7BiN/wh2h3wNKOBAMR+CYb6ktwqW4rk+KLMsBb07azwZDnhOPp0wwU+9E5IjmtUIRGZL9WzIWJSclW7tmgJIfqGCIDT8CQIB/cvgxkhGz7r9hpe6Dn72K23txBJzi2yDo2wmpnF/c9wwoUWLKqj1VU+pdPwmZOWWGvLDJaM2aVp32CtgpHBKvG2oFgwdgPwF95YbZcGRkU2 gFcbkVON BBXJBzQGfKhHg7id7OOKBevMzRGJUMxUIS/XFPxIYKWld0dJ3d1rxlD23sX5FBaIZia1x/lhNb/8TdfWl702JzuZ0TJ5TrOhcpU2j0W6WCA66kqegcRmRMWK3iSZ1gpHBcJQ0SFMZbiQ0h8tnf4VX99Vjgi5I5fPr686T1J92eX3jjlrXvSaHTfICoduNK/16N8QsFiRVxQ0QYBZjQiE0rqgOoQ0LRgSz+fqHekHAS93dYLw9PPiaPQJuWVucJt7OjhJzIXUN8yGg/mmLdUxRw6yOonlqqcF8G02namE9UoQy6Uz0CHKkWly+u6w0CCJXZK6VQJD028GS5Xlv4G+kMbR2aAx3ii89FK7lzvkTbHC3Wtt9PDSfclmAhZN8ZtezByCmlOymJo1OULwrDM1r9aM1hNxswyfWIi54IYk2Nws0I2QckPVGBTo1C5bCfeEg4CMW 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: Convert loop type to ensure all variables are set to make the compiler happy, and use the mas_is_none() function instead of explicitly checking the node in the maple state. Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 60bae5be008a6..dcab027b73440 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -6740,15 +6740,12 @@ static void mas_dfs_postorder(struct ma_state *mas, unsigned long max) mas->node = mn; mas_ascend(mas); - while (mas->node != MAS_NONE) { + do { p = mas->node; p_min = mas->min; p_max = mas->max; mas_prev_node(mas, 0); - } - - if (p == MAS_NONE) - return; + } while (!mas_is_none(mas)); mas->node = p; mas->max = p_max;