Message ID | 20230425140955.3834476-8-Liam.Howlett@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3446392vqo; Tue, 25 Apr 2023 07:28:21 -0700 (PDT) X-Google-Smtp-Source: AKy350a0I/J21NclXVD+32nyUdGKyWELvxnqIt4he0cYh4y5C3GSqmbhX8Cwtkuf/MrLK1C0XA9T X-Received: by 2002:a05:6a20:9150:b0:f4:4ff5:11ab with SMTP id x16-20020a056a20915000b000f44ff511abmr10291964pzc.58.1682432901049; Tue, 25 Apr 2023 07:28:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682432901; cv=pass; d=google.com; s=arc-20160816; b=u/XPIj2LKCHV7cyFuJj8U+R9nfv+dvQYt9ANvoTWHJ/G71o64+sgq4Au71yQSoHS9u YpD1pquDpFltcMkbgJ4E32A84eaL18WCI+2wg8OJJHGqgo+U0b+0Lfty2eVmInxOhutb RNEUeiV8SdkFc9UEYc/LxMdy+o8Faj3jgep5QVhuM1wqHLBTYa/ocVyBo1N8xvvVYUUD 70JBNLIFXzP+uMGkQxZz1GC8N3qVcWlVvbEbQPbUbqr1DiRisk8MYalhkUyG1C1JGmvn 7em1a5cPM6y9T8esdzvlAdkaHiEogz+vV0zhp1A95kY993sgkzLI8k/v9b3cIAczyuGY E58w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=iD0HsogRo+KasGO0aQ8MARS1o2FIoUvczcMPAOl56mM=; b=P0W7DDGicpJxAMQ4KY4FbrVAHQaf11Gv/3k0SxNJYurLCni147JvoeRSGGjNNkf+68 SZrI55YzWmaT9V8K2Uur17AXikh7CNyT//6iDfaO53AKi9OHFF/pS+T04h4MMcAgPBQd 7dtC7KAo4+IyprtvBs6Ngavn+eTirSiuh9Q4KymctRbkkVuoFVmflCtIluMHtiNucDx1 hEQuH9sbJZ0t3VLQYeVjabpcJZtKzj/CfAhZwN+oi6vuLm1aTE5KyufviLC0aLSUMlNd IidK5CMyCnh6YKSrh9qDPzSVkwCq/EKoVQt9SIlyQCkOLLLYH6jpx+verJYdZMYf1veZ Zjcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=hiFJ2wYC; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=gHSXvMTk; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 189-20020a6305c6000000b005139191c0a7si14982069pgf.787.2023.04.25.07.28.08; Tue, 25 Apr 2023 07:28:21 -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=hiFJ2wYC; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=gHSXvMTk; 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 S234360AbjDYOLP (ORCPT <rfc822;chrisjones.unixmen@gmail.com> + 99 others); Tue, 25 Apr 2023 10:11:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234381AbjDYOLJ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Apr 2023 10:11:09 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D6F1146E2 for <linux-kernel@vger.kernel.org>; Tue, 25 Apr 2023 07:10:46 -0700 (PDT) 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 33PDiZav006059; Tue, 25 Apr 2023 14:10:39 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=iD0HsogRo+KasGO0aQ8MARS1o2FIoUvczcMPAOl56mM=; b=hiFJ2wYC+ZXqm0dwEd+7PtN6HOWAgq6RVPycl7IZuN6Ach2M7WfVZkJ9NWezRXj4+Uo8 UkX+smTHU7nvvc+kfJqfA7w3Y9PyzPMmbijIyg2etBkDYibmfbSUV89dlFfxDlma/Zwz SxlAFR9O1xliiDRuOi3QLwPgoFRtrHc3ztuMxes+Xit7gRopEVKIHH88lPzQjPIlFMlI If/SvW5aeV+P4/Vz2pBp19oO99zmEwuTnm6Ll4taKsi15P4qSgDWKmQM2xlZfyn5E3ga g8FGnbDaL3eEjzC8Ghh6CxWgbo9iYR5T3msFxcu8SNs+a510V8aOGDapyPWoDbfrzah8 sw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q4661wgmd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:39 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDVpp8032767; Tue, 25 Apr 2023 14:10:38 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q4616qsfy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l4QfDqlQkGjNJGs9rz82EMjgTlKeHuggT4/lHlZqFgDO8VYtN+b3dM52Tkf6Dkubms1HhAitdP6gJ+wJYik40h+vFdg4s11l4xDcgcstfMwVBRopoFp5vnw+Cw029cp8sitQMdYmwCKw2i1lXU2R2ZyJQvWKyC70uKYu2Hw7SxW4XgiuYk4vx9+cMF+u93I4ALkna5whARq5C3GCAExeqYHLCPEn+ocodZAgUiey8WKBlaFF40rSSrKBUpLKiwKw9BOtEi5xp+aaIzJw+3hwniU3huMdz2NtmQXoBDjpqINFatY5KNJYKvgCC0C0rTLLT185YY5yil24LuI4XIlB0A== 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=iD0HsogRo+KasGO0aQ8MARS1o2FIoUvczcMPAOl56mM=; b=A4KPQr8MylyTQlDkbSr7XTghgPbDeD/wi4DYeDI2gmu4MPhPc0KwG8kBoYZadPuW5qCvH2cdYdLMRu6mKbupvwQ+IKfbtG1iLGkDsFt5HQAVk/i+h8bGNnrD9HF+9847SqqwXgkigG3uj0bxKDbl5+h03QGxsfh0VFBcZ29vHuy7EZAUmITmrHPV2l4CBvjT61ovUN5YAbKlKXv0abHNWOGjcF9u/tLAz+onSno1fHWPQfLgCB69qraeaWBE9uzSqgN0XmczEU5qZB94AMDNvshVsrZ79q/ypoc93U0ZUQ8SSGx/X+KxG4Ix+xJeyjYP+25tgnRMriGBC2ZIL5Ui9A== 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=iD0HsogRo+KasGO0aQ8MARS1o2FIoUvczcMPAOl56mM=; b=gHSXvMTkozXEeBaK7Da5ellbUf4g1nTL0UQRqAk+M+sqz8plTRB7LJZ2SJuaQVfKA48d54ECURpwBrJaecXM8/pWg2+sdb2hdtifaDBbXh/0QicgXm3wb6NGRQjaTsU9ra09kyOA9nIXiBYK2YPaim4XjnOwArhK3vL3YxjTMvQ= 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:36 +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:36 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org, "Liam R. Howlett" <Liam.Howlett@Oracle.com>, "Liam R . Howlett" <Liam.Howlett@oracle.com> Subject: [PATCH 07/34] maple_tree: Convert BUG_ON() to MT_BUG_ON() Date: Tue, 25 Apr 2023 10:09:28 -0400 Message-Id: <20230425140955.3834476-8-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT3PR01CA0025.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:86::29) 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: 2795938e-4c95-4e43-b927-08db4596d72d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5Bxwr4oJuEIKFrV0FOOqrkcHTzb+2RfEg//fEQq11ghu/cCk7dn1507AdEdsHXQcnd5MMHfL+F+2HZkogPRPPgwa0bHjoSizE0xpfcIgulqpa1H6BfdHVC7f4P9mdHO0pSLwedIUNXXaDgCTa+LIXO5F+kV6vj1O3vH+YfHAwLW2Oyq5qNrgeRPGzjfwqivKboASJafn8Y21vh2CgJn48TDhEsrjki05ymC+fou5nwvkCvkCeUZgbslDZY64HhAjhrApXU/h+sb89UXTbvMzTdbAUgimKkzlXYMIgn5tl4TA6tCF6SUqJcxd73rN752p45A0BIAVw2pcGXMDrOl4GFz7KTRnB5b5Puolu8yGfB56BH3XdOKWi59SnLL9umGBuKiQ3fKInCaBo9A6j9g+RgKV8sa0HyLnhqvwLMEiajtU7da5FBRgWbBBWhTP3O3iSCzraaJm/udPn4vIxGj7x1TUsXgoxTt9zs1JrFyMMYSTQtNEhQwHMVLDqH+LbPEBjCPdAkNBpHuH/L0pSxjOp9Ks6wxOKUOM5cBHH4CizOmcM5iEs3MBKsB7AapJimWf 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)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jjAa7HXxMWJakVdfJyVaub+Rkl9hwHnUtiHL0I/UYIYoWXx21a1FA6vLvzpjYVeR4tikYHklJFNYNB71OhXLdi8qDP7RW694+EGGT3h//h6kOWHnAr/wmcuBN8Njnf5G+qyeIUOHVHgfzaY2Y1q021rgsANI7yCIWUWG8S6sLx9b2N2DhBzirC11Ynzktdf9anL9DBwDziTl1KNc1gdekE2DYdIEp9PcKuReEs2iqhHdg7iPdg/BCzG7CFBtcH+3WCNnJn5URQcOjTrPwkSkKyj0DxRMbV6BKwuD6C5qMFBcYyTu8lkugm7HJ6QNrAE3z0jhVkcRBRkd1QnrFrbRpdQQ0YtW0R5C0/jE+rJtgeE6GBjjuF0NloG5uXaUcFtD8qzBRzI+WFsPvkG7Fs86jEE4QNe2DOL7lPBony8KDcBLjXgavsOUZCSGlJhYAqsOq0w98f+3B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luVnkIg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2795938e-4c95-4e43-b927-08db4596d72d 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:36.1521 (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: X9z4i23d+Y77iDJyEFJ1EjjypIh91MknPsmgXQuFBK0xQyP+mH2P4u1qfKWeVYw6C3bVIXoF4RU6EAt17CcT8g== 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 spamscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 adultscore=0 suspectscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250128 X-Proofpoint-ORIG-GUID: jEuX_2tBIcqy3DohtjKJ5jLbOoyCeuZN X-Proofpoint-GUID: jEuX_2tBIcqy3DohtjKJ5jLbOoyCeuZN X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764158761367289614?= X-GMAIL-MSGID: =?utf-8?q?1764158761367289614?= |
Series |
Maple tree mas_{next,prev}_range() and cleanup
|
|
Commit Message
Liam R. Howlett
April 25, 2023, 2:09 p.m. UTC
From: "Liam R. Howlett" <Liam.Howlett@Oracle.com> Use MT_BUG_ON() to get more information when running with MAPLE_TREE_DEBUG enabled. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index a4c880192333e..662a9ecccecbf 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -194,7 +194,7 @@ static void mas_set_height(struct ma_state *mas) unsigned int new_flags = mas->tree->ma_flags; new_flags &= ~MT_FLAGS_HEIGHT_MASK; - BUG_ON(mas->depth > MAPLE_HEIGHT_MAX); + MT_BUG_ON(mas->tree, mas->depth > MAPLE_HEIGHT_MAX); new_flags |= mas->depth << MT_FLAGS_HEIGHT_OFFSET; mas->tree->ma_flags = new_flags; }