From patchwork Tue Apr 25 14:09:28 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: 13223374 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 BE569C77B73 for ; Tue, 25 Apr 2023 14:10:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5DEC36B007D; Tue, 25 Apr 2023 10:10:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 58E756B007E; Tue, 25 Apr 2023 10:10:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 408736B0080; Tue, 25 Apr 2023 10:10:45 -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 2D8606B007D for ; Tue, 25 Apr 2023 10:10:45 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 6226D1C6621 for ; Tue, 25 Apr 2023 14:10:44 +0000 (UTC) X-FDA: 80720099208.26.5521CF9 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf20.hostedemail.com (Postfix) with ESMTP id D7A681C000F for ; Tue, 25 Apr 2023 14:10:40 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=hiFJ2wYC; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=gHSXvMTk; spf=pass (imf20.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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=1682431841; 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=iD0HsogRo+KasGO0aQ8MARS1o2FIoUvczcMPAOl56mM=; b=vPl1O7D410s56eB58/UJCtJgkjap0TlWw5V69NVPjEcbrLgtdzLl1oNTZVjwZWZJp7E4d9 BbGKmlgjr0/LGjpqFIg6J18uhtH34s67zRaNUTVKZYBfMGEQk4YZPciXJE0DnFvcGaOyEx 15nRMzZ5Iv5Qt0svahyA3nNdDpbNf3M= ARC-Authentication-Results: i=2; imf20.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=hiFJ2wYC; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=gHSXvMTk; spf=pass (imf20.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1682431841; a=rsa-sha256; cv=pass; b=ViaGXuzuZprRocCbGWQ8rTU0hTCtLAwFfQb4fLDgQlBDGiAxpzvLyMSGD8X6WAfMZUsRup 0+rypZzjqWAl7EFRnCGY4YDn08C/+OlMVA70LJgZuT2b2Nv8T5Qf68LIXSL+axi3S2PR03 R7EAmidNZ4fNTyHvMv0p1YtjeCnZlU8= 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" To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org, "Liam R. Howlett" , "Liam R . Howlett" 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> 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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5GIFOdsl1zLC8KCAKHmA3k2JU+fjR98v2vlavOfrxwDX2aIzuaWk8NGMRvE7/K7lS6k29ULX1RcciuFJZi38OdSLfrycm2PQpf+naBOam8f8vW1DNL6HjCFSYmFqY+H/JMewW0IPq3rJeZYX5Uv92mkP0XX8ggpFeyF+Ssg8oavRQCsjiAYfsvSTPTpFp0VJ4Lqp7gyEvjxLRpiCWxZlr8o4it7iAa8/VNAksTV1bL9akXlt2vmOOxfEz0KMPoaQB03SETwdIqFK0FoH4DsNZOV2PW89b8zNlIRIYbvua05Ld0mqGZY2qlSRlQ9H4EWhCss4AOrquKwO19RyOpf3yClp7EAsNDZfuIcEhgoJlUohRamp+tL5//2c47XlnQIX4RDbumfLwnW2JO7iS2AKFTwrRcG5KSiZAL1qK1CklLegUkWU55VJwoTcVfkgUtkIeR/MuwdIQ1JzjIiGWMx3cHSoXFTnp4anqkKQwZ02t9w4hIIFluVnkIg== 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-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: D7A681C000F X-Stat-Signature: hj33qn1sd3oobo3fnua3a8nq1zjafhoe X-HE-Tag: 1682431840-737522 X-HE-Meta: U2FsdGVkX19gOo4buaLZmVuTzxNcaJhX+G2bfxXmmbOXbKz+HXoy7sVRRWL9qNDAWRQ0s4C4uUGDNP7PjMi5s3X3wd8HEBNDP1Dkzknds9lCHXxzZALp3owtvy557gIKl1l6ogXp2kYpRy9l+YXq0YONSBG1+KLV7QCryKUbSyw8SiSqYEzSOVeew4xrDWCKrch7tH/WyNkva0B8uZbyt7G2s6kmbUj5zLy51qngkjXaD4+2shm//vWxqVIhFzY6/tc5845w21ul2NOy0yBqo9tAsr56mT990FTvHhxe9yP0NvQysM96IdVh3uzSdtmXpG7gSKiWcRNohNj5IuH4g5Mvm0cmF+SkNtblyQ6wRzfRDRUpADocGLUqzfeUPJGWfIgj9pi4FY3ufB+2xyVGN9PlR+XBfR/ugFelnmilOefrSZ2I2dYZC2hiX/wQcik+FdAO3Bu/Zk0mDeLbsn75PDXsiRqvm9DO6WWbvnv1Vn+Ja1QoyATO0DYhvxtne3ZWRAssJsd3jp48Pw6HlpxlxzqjzjVypavFSPWN/fLiCSP08HV4lkAi8qDavOwSi45I3hfqv90mbPoEafnMFvOAaMjdZB/2PdLH8hmjD5A8k3Ctm0EsU9EqgjVkVX1h4rqzK3/IkhabahWiaUT27Au5M4qw/EIforHqPZ2OYxbXDHI69MPq5V8s2KoU6y7dnnr7dXdRWJvKdQcXz2D4fhzKxZee3mOTI6CR9qpvdmhaPWvzbh1exeQ/PMVoHmHpXoEMRp2X6NfrCFKm8aIdV9MSEIUnrIUfwj8ldAgNO0hOcR0rIh0nBQOo+vi3tm+j2rLeGxd+OSaYyZCEGM+gFqpUCx2gypt6Wkq4PT4BmYs7x76v6h2Me3fIR4QWb9oxqXzOxPrJ7HZQiwsWnkT6JJm8v1s4ygiNSoTqEFJGtyL8hvuLFbR5O1ezyFwILm1NC0ThFjnAtB/bqN3zpTWrcR3 ErfgVBft uvGQCFHm9+5ORiFhfzyyOxAxvQ6q+XbiJVH45zhgTLDgiwHvU6ssddOVQUSjmsqQfl4mr9aRuyCimHgrUXupzdhGt3R3RDlr1fEhf3zEa1qMuFwEmZPOTLGoSFWIc3U9BNzxUlwn+ggfkkejTZOKMp1HTIybnJ4sG4FVXu8F5i/X375zKmUAX9I1gKGbENTNnsuLrXVTrph1sM163tdVTNU43KdY50GtCa0haqWls5DKskIrAxay7fcK7DrKlE5ysfiU0FoU9/dbrGDCXzXB6BzULbVv7PgLIAo4Em34bOEsnXXdZSr3HbWVIL2iyzsL8EQFXWnTiH75dM122LvD89oQKS76o4i2Uun55R6DZ+aefP2UTruR6H6udayFBnRzIyIjTtsM/xJ+fUNe2vypamUt1QyepiCEgQLBLYDVCGHz+FmY= 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: From: "Liam R. Howlett" Use MT_BUG_ON() to get more information when running with MAPLE_TREE_DEBUG enabled. Signed-off-by: Liam R. Howlett --- 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; }