Message ID | 20230512182036.359030-21-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 64484C7EE23 for <linux-mm@archiver.kernel.org>; Fri, 12 May 2023 18:22:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 533B490000B; Fri, 12 May 2023 14:22:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4BBAF900003; Fri, 12 May 2023 14:22:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 24C4C90000B; Fri, 12 May 2023 14:22:04 -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 0C691900003 for <linux-mm@kvack.org>; Fri, 12 May 2023 14:22:04 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id AE5E71C7FA3 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:22:03 +0000 (UTC) X-FDA: 80782422126.27.17F0545 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf24.hostedemail.com (Postfix) with ESMTP id 382E8180008 for <linux-mm@kvack.org>; Fri, 12 May 2023 18:21:59 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=PAl2fHrZ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Y5fcbGP+; spf=pass (imf24.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1683915720; 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=1Q7wqf4ijKrU09WVtajX7KD9NtJGhpTDiMYTNaVpvaY=; b=a8dZsOlZpOT1v9Ib8Kes62Y/oG75nVMfyaftOtmzE7QOxDtd5WdmF0HF3tA/mY8O/9bQ0G WGOB8OlLJRHFQHAljOuyw8iX2l2Cjm6+hy0X4Bn7TYtsthsixN2HWzKQoG2JN2wlcxt6Ud xVqrFVPkX9Q9Qn1rLP17wD6Ea60iz/I= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1683915720; a=rsa-sha256; cv=pass; b=DPFSVrk6Fa2/uN9K+gBgQpUG4lckLWb0mxq3rMdoBVRqjI2/m5L2Yx/md/pz7sAE8e4lMH 7++72zH7yq7ImHOfdDeFlv3isT6aB26mAhCqvkTjuYIuLic6QC3As6RTdN0CH83gjNCMEY JqbxHYQ41NgbOgm0MZpGIfgd1/4Elkc= ARC-Authentication-Results: i=2; imf24.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=PAl2fHrZ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=Y5fcbGP+; spf=pass (imf24.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34CF4SYB028694; Fri, 12 May 2023 18:21:45 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=1Q7wqf4ijKrU09WVtajX7KD9NtJGhpTDiMYTNaVpvaY=; b=PAl2fHrZwqBGlz3zR6AmaycDbWLYav4NF9ebkiDKn/3157doY+YKuLlQpuNlA8YIPEWB Q0NpBxAdxENYeMo5Gm+NEmG652klKO0HvnwQh0/ZGIFtF4MhxJQ14YJNuUnhEavJSBT2 FUHB5dSJMu4GoRGKj1MFKTaoU2L9FaDbISoawonjUddtewrP0A8hEQDplO8gsHUyQrpz SqG4DL0VDRNtrog048V7des9dAsGPBz1f/9x03EmOw3B/xNfb/OYWUaSwj3vlafIszS5 gmL8feWz/RxNlQBagBYU+vI6vWbKqLHp3caVB+CsXbbJBgBHPfscMhGi0fBjqnh8irQ9 wg== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qf77dknmt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:44 +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 34CHou3I011834; Fri, 12 May 2023 18:21:44 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3qf8156yvt-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 May 2023 18:21:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KffMwL3Q2Hn/131z5HxGilOMV3T9ZpUuAz9sCxSdMeULkqdfcAarBMJoOLKeM9ODZ1SRtgcXKfEQBuxEOU7TYUvAystxii9Zq2V3L/4TD5NXc0cM/tySGAN6Cu8pvk+RuUu7gQv5kX96rbDu/uiZub4GLbcElyenONeEk47fxphXYsfe9xkOOYjYWGu6MhhJiMOvhQbEj7fzdYugxbtSmlqojwz0mk/nAONEX/Iu7Itor1V2foWcv7AV0dqt7+6VjdMyozficIp2pNV/san65vLZEIVJsDBUN5qXv/j6rKtQHkWNmTp2q/s00sMdCvu8KA+JHdmeFCKJNxwFx52fDA== 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=1Q7wqf4ijKrU09WVtajX7KD9NtJGhpTDiMYTNaVpvaY=; b=HUFUgu+BCloGz+FN8JBpzftY2M9sflO6bOQcSDu4V00m/1nhlIyWDb0FvtrYoEcprbfs2JYGU49gBp3yNGiE2NyQpzXfcyR6tvfIJ1xQtYEPviz9m0gMAgs4b86kSdM+Yxjw63t1LAm9dLKozZLhV2wNLdS38qlf63TzxPZ4Hgzye7TUdyXOgG6mdJXp76amHtSVdHDqrY/0SG3XWlh13c0/a9NOF8YYAh7YTmM+5TL8b3zWTQQKHhkUpk2PaAphK0CnUNRFcfp6ezq6R8Io7vYomfHMMn+kpc2nfmtBvU1S1uajh1QUhM29rrAseKiggn4X9R0w11IeQ7ArzzQi7w== 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=1Q7wqf4ijKrU09WVtajX7KD9NtJGhpTDiMYTNaVpvaY=; b=Y5fcbGP+U80GUm0NXUxrxexOGY0mE2PZQQ4CjVQHiUR1Ulq6SCc2k+IobcxWH2Yn58JyrDQjxR2ag8X2ssyyrpOTd1QxHW2O0239S6AQHjfu7PWd5Z+4YKgXzqwUjQFokwD4KxyeeTF5XWD7j1EeTR/De0gETFtd+/AVfItNnds= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by CH0PR10MB5211.namprd10.prod.outlook.com (2603:10b6:610:df::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.18; Fri, 12 May 2023 18:21:42 +0000 Received: from SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c]) by SN6PR10MB3022.namprd10.prod.outlook.com ([fe80::c478:d218:8f15:37c%6]) with mapi id 15.20.6363.032; Fri, 12 May 2023 18:21:42 +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, "Liam R. Howlett" <Liam.Howlett@oracle.com>, Peng Zhang <zhangpeng.00@bytedance.com> Subject: [PATCH v3 20/35] maple_tree: Remove unnecessary check from mas_destroy() Date: Fri, 12 May 2023 14:20:21 -0400 Message-Id: <20230512182036.359030-21-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230512182036.359030-1-Liam.Howlett@oracle.com> References: <20230512182036.359030-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT4P288CA0054.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:d2::11) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|CH0PR10MB5211:EE_ X-MS-Office365-Filtering-Correlation-Id: 39f0a56d-c222-4b5e-7b9f-08db5315bc2c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wXFtxbw8RVDxoBhZkZ/5pV6CBViYErX+vBycPcKG890rFuQzss3QHoODTu+EbwXmSL5fRyi05NUOpZe1pewpS7iQ1yD0PWCM5NWQZc4aJldf/iAW9fI+alfr9GDcwxXyHLo9pJdaxej2/uHagcprVxCJSHbTUeUyvgN+A1F+ZkB/Hih5cnPr/tqFb/+7NOkTiLL6s2nCdy8a21EfK8Wpx6FOFJsA550veeBX7WrcYmgpEGVezzMv5+V9C/yf2F8M4mIaOjxxD0d4kd/jQxdNGzEqotKfJ/nbn3Cz74RQWSWuLGAYZhYIn7/cHb5dwNaNXndYyrvJx8gwFlR9i7GGdRXGk+Mek2ih9aL1NzKzLQ4iENcRy6A2nB3om+xkZqogpgAB+Wwgl20aVP5jC7XXaotnRylfVvzM9zBDjLco5QvNaDPQmrcuCTg7i13Yu6ieblLEXqHzXm68NjnHoV9QGeHfscO6YO9ywJdZmHAqJyTquGbow1UJFFYlJ2RzNEFOBNSSlZkrCxUWI8PAIPKaJAmKul6PTNG0DP53iM/dLvqpEfEw++Fj0TTI96BAQIND 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)(376002)(396003)(346002)(366004)(136003)(39860400002)(451199021)(2616005)(8936002)(8676002)(6506007)(38100700002)(26005)(6512007)(478600001)(1076003)(36756003)(186003)(4326008)(2906002)(66556008)(66476007)(4744005)(6916009)(66946007)(54906003)(83380400001)(5660300002)(6486002)(316002)(6666004)(86362001)(41300700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LltO/dmXcXP397/OWer8c0Q6efunBrIPIEOy9daJKMLXp8+atSNJlWmMWpvDR8ZWbKNWFOv5+5dkXUIBC3decWhhpY1QYHFxcTVbNlhX2aJ8CiG5KqMXdQEwnwIlITU42MdQu1RSpU/B9c+hS/h37X9A4dW+BiucLP8L9TAy1q6qZP18DQD+ramY7U8aUKRJsIgt0pHKY69SJhECzO3IApiP+L+pqAENjHqKF/ivd466DN5nbDuG539tPHdiCYiOiyBoyMqhzRXeH1zyGuM6FaW5rEGW/f08qZrDhmc7NYxG4QTBQuGH0Uvt1TqgMAKb/q4akO2KQ0H/feLorKk6Xh75QCZrX+8u215TCoaScZFFxo6LlRUqFxfbX2uxph8aZ5ahoqpzlzT3he1RtRSynj24iRS2l697ZQbBpSg/Q26VWbdPaeQYMYIwLMLVKakYK/6VJk7icQaIwfMChxedhDmFAdCcTQT1K4yNW47DTZhZNf8lvFxWx7cNkZn3sGT/tfuJl0dXGCZo1Oi/PNd7nKyKfvv40+Q9lbLmXuPFmYI5Hys7CoA96JbuwRVUItemE0lCg6e+6WouODiyuqadzWr/M2jEF8tliPrsdDogNzoAkaeNy8XrdBeul8A4E77tbuXA6lYscjqpvjZ5Pi0BxhXLln5MibSsxvf+QsPTgTuOw7uAyMb9nnP0v9BHlFn8U0tdqlkqkFmnVh83dbjx33bh9kGA8WSv3vba985vjaLk6hKTa7bOCvyDC0mTzZcpx1vU3cumXYe8ZPUqo37dFkcFkMzZKXm4EuCBUuSsohwShmqEhHINM+X6btMt4Dlhjp9WMBbdj+F9H4kx+AAZS+Pa2YjtYMxeOVujfRGLnJiJWx8sHUTz9H5+FL9qn5t8MbjYl2h29trB8Ws6OlBle4wiHvbDC2Nn8aKoQHcXRbGJ3e0LwFb3gERA0FVNF7eMV2iAH/WyBNyCQ1B8QyjwpSQhiBS5yRXb1A0wM+x4U3Y33IR9jENncPJCsm0ihO84jQFV6pjj2E6vAqOQNZGFkX+7eDUlVOpY4Du9UQFLW4117Mgxq4KxoGRnRnJ9ZGT71fmop7YbOUTKlTHDhgKng/0GhgcTE02usdf9SRSYiWsophtBkifQAUV9+caYCn1yHA3SRizRHgIsjxEJ1PHtWlCNPFd3yEs00Gn02rrXCXExN5ZPEiqVmSwReFg6JOS73QPSVkSlgWIgLHujhcJuzMLsh0dQqBXRg1SzkyQIcWcKcrw0w6WxOjlWpGYpY66ZBeajI6gV0sGfwtBw30+1qPVBp1vczYWrgE6udUus+zexY5obx26nCtC3Rhqy7wX5ibrn9FwXs1AbE5RT3ZzAeeWJ3+IZSwXYl8UXohKqpOeof9rUAvENpdSHaXniaQJ5PJMyA5311KVOqmK6QUlMA9whvuM1vJQF9QJ4ukT9iNzVCifg3H0KdMxHhSlNLrGFdK8jlP3N2HO8i0qJWo7PsEUy0BbRe3gEHxN8+R/ql0wc1MYxbn2tnZdwFtzYEUDKNMpdCsHK2FJkgijMsXY3pBtWLojVbsZRD8yAlXJQk3aSZ7E3kZvnSP2w3Myf8Yzi5veYn3FGIF+b9blg+8ojWw== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Eh+yf1k9kOD/xKcj/u93ghdkffYiSXdertA5gPeXuR4RGK1d+Tr5YPOqWhd9Nz9yTaV4sDzwHdiDpu3bOrOttn/pljejxX0jCbpq4RFInnsL0jUPy8ueRGUl7uePE/BQql1okkjCOUsjZ2p2PaJ/7GT7m8TsvXnLPTMvMuzPe6kRHfAGhB8EZkuHg5IEfi0B6FE24Gtswg5eJyRV8TZG8/Jj75c11uTU52b1mtQ/7b2uu5yQBmbcYQdrYRDwgadhhLKPHFLnDK64/QObpdI5HXDY1FFsWizUSyxfW9VVRek+ia0fx+Y5RUmSXG+C5qXifGm0HNfECKmfGSpdT+AML2YaU2jRqC06u5b4y/aXdX/wV2aS+jD6BX3FJnSc7xjn528Jn+oBtiuu0a+uOadddDt/7LBljQX3tcND5YruDWQPCtzowAt99SgfKqb5gd0ATcxadycRWzjqPgSDq4vW1Iglt6ZfeK9tljzyTdkf1sWCxyaxdOxIVGJo8ep7VyJ8kvgs9j+O7unSNcxT/9NcObaVkg7wvJCXsOW/ybbCLkJ9k93sS7T1YqH6gGYZNuvGX3FUlS8WOdZoCSRoRIsoc+QsDQDlrObbl8oxP94HPsJ8V065ibA7fH8DAKMF8s85y3wayTCft6ap1kRqrtBfwNw3VlAO0BiK/3PPECPGuyWXuNIeT9oQLHSPXr/kAKXWR/8lm0/+o0Sk/a7yfWymw04VdhoZvTjHAqTx9O6tQfNXG6fYumXG83gH4eKFuoHyoN+wmHkneCJbx6VvGDmclQXrHk/N6tRif/5M6Ktb3ptBmbC+O1lPJgVYdhFikHMjyweRyMEN3kHpwK35vzIllaN4ldvYDt7khCUz3HIF9rePlaKxqWBU+gIMZ7joxoIs2nwNR6ytISPPLa2YK/bsYNEfd7TQs/vJM6GWMU/IGwtywrBfODUhTZZaZbvmYymC X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39f0a56d-c222-4b5e-7b9f-08db5315bc2c X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 May 2023 18:21:42.0531 (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: OrkK9PWylWvmgvm+l0ikyjt03AZ2dOF+5JZRDu7sv2+1p1kA5+f3AIZs5uR1AUQnut3ZRHwNQINE6M7IRYHARg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB5211 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-05-12_11,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 adultscore=0 spamscore=0 suspectscore=0 malwarescore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305120153 X-Proofpoint-ORIG-GUID: i7Lm6OokkYgwRAHttKLOpwicgTT2viKb X-Proofpoint-GUID: i7Lm6OokkYgwRAHttKLOpwicgTT2viKb X-Rspamd-Queue-Id: 382E8180008 X-Stat-Signature: jiw5aowr3fdynxusufy5jqokfoeha8xu X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1683915719-92125 X-HE-Meta: U2FsdGVkX19QUjYc5pQL2rGQemVItRPBYfKLPSbuZoKoNLAPd17yqsdWWIWShh9577/0Es+TiF2uyme6JpxI2rOo4C2e9dGDhugOS2MJQkThP2cj7JlS/iV6B0WWw0D4JUAX9PEg+xVIsEqI2AIlO5Laf+WJmQt3TIwYcWau2kTEybB4ZDcxSJoN62pJp0rMsU9HaVd2We5lthu719pUUtX80NOch9mj26zNk62qMqxeO1EyL71lgI0TI8iy72u6xA8/kh3JatAzGMG2WS7RmGqMNW9oM+qCJUl/j4uSTDpWzVEoCNn4RHF4og22nOAszlmioEuqAJv0QwUk1w/653XeSEns3XXd03aM7bvEhNzrlEX1GxpWn8QamB6z/vMzfpUWhtzXctIRExI7YtRJd6oahdeAEucXyr9mGifnDa0tDgjeJISGpWm3kuejTuBB1LnyJ5cvNtVJ33ky++fyL0s0rFmeY5ZxeN7Aut42mst/V+dPPUwXb9mQx4y+kPk+V/5pDCaAHKjm8lt7gF7KnjW26qTGCONRMhWzXzncih/vH9l1gbT+VsrQ/1n07gZbbkOFtV5ABaJyQZTisFJ1m0kNAL1g0UdqVThOhzzIj0DziGRc+eDX2IeHCVYIrEus5DKdKgENri+tTcaHfC0Z0Vm4XNIh9jpF3kT4OnfGgNoLKIr8M2H07rGiXChKYBloRo4aecfmSdOwv/sP62umKB0K8zb8zXIMqqPfaGRsMA/SR/e/6fa926D7PDkqhmLnrfjkJ3wKffq9/bzgTkeLPJ348zjtHcgsON/j1RB1S1HrR5XSCqWTAHBmc1598OjIar63bq9WIoQ2GtgdhafE4A1OVYNU4wWEWFAc2ULj6b2yRW0u66u9sB0qdzzCo9bUfxgAJ842Zvr137C9nGKIpVKR0qbPYfpJ2cCBeRqRmIconSdpaEUQyWH3VgjTYuPaAc4CVzGn9A23mhIOOo5 fUvosCoV dQqgKE0MfZAlZNE+Ux65oSbknATVXKREbrjsh/KOdgefKPNHPuHDmL1csAupa5CrQNdIEwx1DQ6mV6lJ+Zp662O4c9pSworjuwpeD2YNTM072wlDYIHPN0/ryiOZ60EhaWNufMmOwiQ4n7yDYneEm2mWcidwD8fRb2P8Mr/ElaO5IaXmS0592FONKVJIksXtMbmClkcNdIVwleMY6r/TuQqLmQ4gmlk5wvdNg+ft6rxwsQ/g6ToPHiXQJfNFzQ/U1i+5KRyQ6O3zvatrJQ4dmSYDQdenMp0Q5bHKZzuhTRJru6meu7RkqrSXGvGrfbCnjS9QsncXYbVpxx8LgD4DBQTpZN8XvpxWesm9Vl1si52AfnxjKbzEijXJhVpc5CYB739cv8wBVNehtwzkNemis3r86rGVBrO2mDh2gq+iVnPeBR9J9egAjXVHwxXcgMcxJ25Wb65XGj0J9VxalcNgcLjlP2XMaBgicVxqY 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 mas_{next,prev}_range() and cleanup
|
expand
|
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 9f3784f4a5b7c..b3e5ae43ff8ff 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5816,9 +5816,7 @@ void mas_destroy(struct ma_state *mas) if (mas->mas_flags & MA_STATE_REBALANCE) { unsigned char end; - if (mas_is_start(mas)) - mas_start(mas); - + mas_start(mas); mtree_range_walk(mas); end = mas_data_end(mas) + 1; if (end < mt_min_slot_count(mas->node) - 1)