From patchwork Thu May 18 14:55:13 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: 13246931 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 D6A76C7EE25 for ; Thu, 18 May 2023 14:56:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7568F900007; Thu, 18 May 2023 10:56:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 706F0900003; Thu, 18 May 2023 10:56:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 55974900007; Thu, 18 May 2023 10:56:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 47F19900003 for ; Thu, 18 May 2023 10:56:07 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id ED285C04C7 for ; Thu, 18 May 2023 14:56:06 +0000 (UTC) X-FDA: 80803675932.24.7AAFFB9 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf13.hostedemail.com (Postfix) with ESMTP id 69D0B20005 for ; Thu, 18 May 2023 14:56:03 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="HkR0/295"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=hd+SNp2T; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf13.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684421763; 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=D8uB8KFOovk6IU0Nv+WqVCZaBG68SuibvA7m5a5k7xs=; b=Xo4+v/iogUj4UQOM/BTk2PCSQgShCpH/mnlu+kN1tNEeHYx9aXLitXWDI7Id7czO9TMCzp FmitV3rWLocSN4ka74CA3AkKeH79Iait9RgbNJQgDSE7ImsyH3riez0a5P44bnnxbnKS16 VBE7uAXi9KcLaR6cXZi8k7zFpKueaBM= ARC-Authentication-Results: i=2; imf13.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b="HkR0/295"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=hd+SNp2T; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf13.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1684421763; a=rsa-sha256; cv=pass; b=j193V3sDzINI1fIQo5TOhsA0y2dGDu3z8XHNvX6fn3yXN8Z6PGNMiAkOCW3B5+SBTxSgkC v18NHTIu1Gge2SlgLfv8MBqHKQIhSKVvI2NNIFkDaIwsbg8I6ZExDEaWpNe/SlDHrBKxB2 EPTRP6d/DKOp56j2walrq7ldS5Uhu7I= Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34I6JDRa018326; Thu, 18 May 2023 14:56:02 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=D8uB8KFOovk6IU0Nv+WqVCZaBG68SuibvA7m5a5k7xs=; b=HkR0/2957VGlci50qaSVyHn+h+eQ1rdxvh7aAvEmJ72jN+PvU2bGrE0NQL48wD+DZdt8 SEjdyX7mT6HAce5FkW0tQUhoEB3C9OzPrC88bZKkZplKAb1UDBMdJDG74luSFYXyM3Ev CxKQ2H3X9XXfjV1Mt6QjcxPU45jjhWDdw3JzCmvp6ATlJcZvQpdDL0/xre/Ffpq6AiYF F21UsZ+JSV5OT9yQnC2fd+LTSrKuPsKR4dhBqJKlH4aH1CUWQhXGcopzY57hJA3h81tC +XWMCAIUqD1YfzCqJ38tEwV/3IMXtqXspin3/LIbsWtOpUfcBgfYSF1PwQXh5lHPKyar Ug== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qmx8j2vn6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:01 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34IDjxeX032141; Thu, 18 May 2023 14:56:00 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2100.outbound.protection.outlook.com [104.47.70.100]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qj10cwr04-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LzhdmZJ3LAc9RQYBSxi1SfVPEpJ7jGb+AIaeBC1QLbgE7FYMgq4PPFcgiGRkoZqVw5XlAwbAhjZvI4lue4DHaw9oB+5f2ZvVbeYB49/4cB09JzdPJznrBAlTIfw7vQh7ewd2RJie5+XsrbldqdXUsWd/uwXC6mYPa9w1I/rutPFAiCyAGQKJkShvSNRLiPbSQluew5jR6NdfuKhJAjeRz73NNM8ZejDqQFDyufiBxubWUrgpRVs0X33jOp1EAz+57dxr7Hx14JVUaF9cdo7+9ABOzwBQaLb45jAyX3hK+d252JlQFXgeNL0RYaBdpNqUdI2aD19Upcbu2hZ9z0uXyA== 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=D8uB8KFOovk6IU0Nv+WqVCZaBG68SuibvA7m5a5k7xs=; b=YaEl8Ca4Kf11o1pmj47ylnHPL4hQB8I+i+N8OvrOd7ky9MeWi+mLxnKf1d3qlu0XT/8WaInED8dNL3A8Y1CPyaUr1x/BbPqRCAzJAYH/oykIqLqOcft4/QRoXlr5AzIOt9xFD1Y7TILiu9VGxjtgEzrGuWWf4CjRaH/9wR+SlYd7GJqFIlD0GPJmZrBmyfgHrDuU/Pdmykl0BxxvH9BLpe/1nw5XwlZ8IVotGuCx29zvNjVnNbK2zUeP1FeliAEy73vas+ao+rELFQeBsvLgMYCQz9I3h96wCmC3EK9RCbApE5bL0oqi0U5JGDDnQr5czeotgFxwrQali0Dxn2GiHg== 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=D8uB8KFOovk6IU0Nv+WqVCZaBG68SuibvA7m5a5k7xs=; b=hd+SNp2TgHsjArBrs6dkY/89yYYzO8FSf1W8s/VjTD7lF1iObqzcVVwVGclCQwg6PYEaUAQZHCmJK6VKDCn1NRv2VaSOw6NU3gD2Y+dDaHVsHZmZrk+AACONmsWvZ38ZXFtoYClxMJm/MC4oYcJDnSor1QMJanSomJXthZbhwjM= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by DM6PR10MB4347.namprd10.prod.outlook.com (2603:10b6:5:211::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Thu, 18 May 2023 14:55:58 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::998f:d221:5fb6:c67d]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::998f:d221:5fb6:c67d%7]) with mapi id 15.20.6411.017; Thu, 18 May 2023 14:55:58 +0000 From: "Liam R. Howlett" To: Andrew Morton Cc: maple-tree@lists.infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Liam R. Howlett" Subject: [PATCH v4 04/35] maple_tree: Clean up mas_dfs_postorder() Date: Thu, 18 May 2023 10:55:13 -0400 Message-Id: <20230518145544.1722059-5-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230518145544.1722059-1-Liam.Howlett@oracle.com> References: <20230518145544.1722059-1-Liam.Howlett@oracle.com> X-ClientProxiedBy: YT4PR01CA0232.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:eb::7) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|DM6PR10MB4347:EE_ X-MS-Office365-Filtering-Correlation-Id: 1184db34-e5e6-4bd5-db9d-08db57affd73 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FvteokC2pLglrru80UJ+KbMAcj7Z0p3STLAaIQ+Mw5xWimA81uHcdPZ8zqzaJ/DktMINJafJb/GBk4EH7+o0bmI2uglfq8JO5umHUPZhyB5m/+fqqXIjQQDGxfNRq44IVCvaDFlYGMcFQry9V8221RNPJ+gBydJsLO2U15VP/q36rpxfSwp0fVUKNOKEgs2wDXRKNaCblKRG17xabW6u8D8qTZKU8lzmj6/aSNDhLVE/bp8euVbwQrLPB4JaA8xZjK298923fe8RqufO2TKXPMQGDwLQ25IITvIYpNZRscp/ty81ab+6X8MNNn0wa060MyMnfdn2i5FQfnTlcut5RhjexJiUie7meeoksvF6vUHGwRySh5FFfY51AypMUPWXa46hsOWF4L7TvDjnH09Dtmk59/kTtHCylyAM5SsCXFGXztMc2gwnghbkOJ0dht8YPoCQefCobNJxGsGlENXFmx7sf9H09sHZ4InxEC5zWpKjClEU9jIZWetygZhTN/S/gmiSYBmcS8uJGFDg2hNKvUQJVu4fK3V52LGwUG8YJ6omk9ls+6G+R0CT0HCP7wN/ 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)(39860400002)(376002)(366004)(136003)(346002)(396003)(451199021)(86362001)(2616005)(4326008)(6666004)(26005)(6506007)(6512007)(1076003)(6486002)(6916009)(66556008)(66476007)(66946007)(316002)(38100700002)(36756003)(186003)(478600001)(8936002)(8676002)(2906002)(4744005)(41300700001)(107886003)(83380400001)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: e1weNKLKgppj7lJsrn7QK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KApbN4U153MFvckgIDUE+Hys8jUlBhemyByEugwRsPyw64UHm9dN588VQV3W6G7ztM55bKSQX00+h0jz/owqYY+zHeEDEPz7SehXa/wjH9F8v+LboomE9ParlgqWn/oiuR4EOXhQQ6U1Dn5Y4gsqsFB8LeK30iWsIyIR4hE1/whnz0OF3iWARj2Vq/kLEOYA/i/7zJZ1s9GtoT+c2uRzA1naFT/ftUFbpfuQH0uXOgKj/yu2khtBI9Ndr3I4uXgHTvVqhqN2naZlxWSN4xhJJd0HkebUZpWnfGIscIGbV8joAEPxtmdQLdzoUAo40I935vu00RwRmacw2/0BCZ7SsmzMpw3ID+U0Cnk2AqSevQBanfLl1/9+9D7ReiR5DXlX19Rh2tTWPpwrxx9EAc86Oe9L0GDBxuu6Sl5S5Vwr63WWYs+GgOP25ENvFM/PBPQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1184db34-e5e6-4bd5-db9d-08db57affd73 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2023 14:55:58.7302 (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: 9/BdJU6pbhVPTwS3P+yUwUxcCs/I+fYrpO72xrYC0QXJMsKUYGPTt3VsD0OIz/VKIdjk+tTXb/buNB4yaKU5ZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR10MB4347 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-18_11,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 malwarescore=0 mlxscore=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305180120 X-Proofpoint-GUID: SVv2g6y-nAsZHtPhTXCfHfpPbZIoebV6 X-Proofpoint-ORIG-GUID: SVv2g6y-nAsZHtPhTXCfHfpPbZIoebV6 X-Stat-Signature: cqep5619naabaxiuoqgopx4none6qinh X-Rspam-User: X-Rspamd-Queue-Id: 69D0B20005 X-Rspamd-Server: rspam07 X-HE-Tag: 1684421763-52730 X-HE-Meta: U2FsdGVkX18nW1Rp3JIXHKzY5//TNcueoHa8nxlhyfhKY3ba4ar8PQ154D+kaVXnFDgPvNv/eIuL2kyErxznshB4uEamiNZZnDD6ogiN4Ob0sDY+9mzXzQV7dGjXP4Ub4tXDcaIA4u0cD89ymzKgdGJjpJu+vMyjnL/n5hMe5ldnIgFFRVH9xvbvGsVELkmfxY+SgcJQUj8MMlZrrTSjAyNgMpaT3kwcAMqnOe+AOnCF9Yn9ESGvXrVQMOrPKqiZ36OyErfSVrSkl0Qtkj+1li5ZCnAnHRoMmm3wGEczHjGN2p2rCUYd1Oo5pY9kfOUacps0Xq2N04v3admpoYccG0p5llmBYkAOp3hFSNDATrS9cq7p/NIh635SSq1iBcjoXynHyviVGPGMTsnfQlhwd/rl2XzWvf3M5gQkylfjFToTxfHHVnmvXrVLq8XTFnk6d3AwrCtgn9F1ZaTUa1bHXA1RXISzTrbcsFRXOSSR2Lxo+ExjKoJD4+lNCFWeI2hasYkaDluqZ+gUbcwXM5kBbt26CTKER86z/P90u0Xbtfx7EuQPByxvwwOWD19VvuKsqR3EPvH/f0ibgZ1X8+Jx6Z+ZIulISrwCDPBk6Sfj1M2LVmpLCz5ntOvCNyUhVFsy+wA2WTP00M4CXbhlJ0+zTTIRX60ZgxtRiu4AbhH5UC4hin3BqB4Uf+DiB0qstD1g/qDjr2Uj9JUdlSDlK44tMBdK2+r57M9Yr5+NCiwXoyj7qFpif7gSKnDqd+IcgDyA3Iu1Dp/lhRv1/4B143YtO4+4TyUWbX9WeCePRfcT0kXiGfOFA8BfSpayrxtida5u8z7Ovn3AVv3vECIJ1c3ABVWhXaP76K/3v+9kxVXoF18ohWINTR6IhiTsuD28R+rMPeI5XBjxpoPZIeflDVP7PPDz+D8dkAW4jiNISzYDYlfATaXsbbVmc3gI0HI7u3sCqYM4+7Ysy+Xg9A6SzSd xTLtSAQC mBdwZusEv7zmcPht/DNWA9hDviC9bqFSYl7p26PsvfgySJTaePEyZR0VB2vkVsj+DralbuQg2N2dwShbXcJU63fdvKfiXwIVRciHxc8SAktI5Oq6sFsS1JYffwWCKPQEQkYE4WMyX0xnEh/GjXvjRfXwjkK/apJNqu85XRYvVZ4WYSvhF/cRgV8HZETKph1TPQpPxwZ0mD/Vlwcx8ESVoA+aGLaZfcmo5kI4ZyAjHvHfFob//2d7ijdUmhswTpRSqNx58oL4oNq4/97z48yLXTAG+PTsUIaDv1RGOWdrF5Yc9URGnkolqidW+eEgDtplG/4LaTrpNABIRYSeys5L8iMXT/TC8fS2GLd1h6UGazdzxGtFkIm3lCsOrgGOOdaG42Lr0JCKP/JX6TsuOmtOoQm2o8C1QZOoN/NZVsfy8tjeCfEaZBC3M22oAZcvMIiBV7AVV 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 5b29d5a916f2..1e7e7249a0cf 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -6739,15 +6739,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;