Message ID | 20230518145544.1722059-12-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 25A19C77B7D for <linux-mm@archiver.kernel.org>; Thu, 18 May 2023 14:56:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B0207900010; Thu, 18 May 2023 10:56:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A890C90000F; Thu, 18 May 2023 10:56:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8B40E900010; Thu, 18 May 2023 10:56:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 78EE0900003 for <linux-mm@kvack.org>; Thu, 18 May 2023 10:56:25 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 8DAE516021B for <linux-mm@kvack.org>; Thu, 18 May 2023 14:56:24 +0000 (UTC) X-FDA: 80803676688.11.8A3BEE9 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf17.hostedemail.com (Postfix) with ESMTP id C72234001A for <linux-mm@kvack.org>; Thu, 18 May 2023 14:56:19 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=hvi3MrDe; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=NRtpEKvz; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf17.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=1684421780; 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=036u3Np0Z36ocna1vzafx6uHq45BbcXy2glhvh2TOgM=; b=6SESd6aowVxr70MckkUh3MuFLA2ietp5k/3ZuSPAB10iVRwQuaKsRhExru2RW17q9ugfKw 5TfX7tvtXiZSY0R99kEi0VGwzmbA+41QFXVeGKRY4erzi+3MDIiEaJJDrQJ0vYndn/SPs0 le9YHwIz7iCpGFbVqjZIgF+Gn6FYq+w= ARC-Authentication-Results: i=2; imf17.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=hvi3MrDe; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=NRtpEKvz; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf17.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=1684421780; a=rsa-sha256; cv=pass; b=sIkQm30L1/0UznkdPjMoBCY5pOl6DjdxW1HM7r0r3HLgZ5PwsJbWIq3oqcCG9R4zsIZJEk mVpNt8nZf9Hy51+O7tgG0RkrVS97FxC5/L6h35MjdsoZ/rLL1NHLxabrMJt972syGagHNv ANfwzhSk1KKpxzZ//0RlCWvwf0tq+Qk= Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34I6IqxI003904; Thu, 18 May 2023 14:56:18 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=036u3Np0Z36ocna1vzafx6uHq45BbcXy2glhvh2TOgM=; b=hvi3MrDefed2tIKCpvjfMw8Unh25ICT7jpd/IQacZE5ou+xh/vA/gkMCjskNmvg0yzR3 P1IsezX32l3Y/5iESrD66yjYoIxFv5OgvSo9Uu89fiB6Z1uNRot9FwOGsgI4sUoJnYgH do7XI57TtIdQ7o3GSQAhdehBpbuYCnaGUROqsxtBjemcNl0Tck/8FgQCXJQbeNwc2PyO DOIoo0HMVVBLrrCNehS8aFG2P2BcC1S6DA8RHresZ09cdQ2NgQqTEih+4BC9CO719hVx LtZkRDgf7g1LQEZxKHwTQXX7Yh1ByEIsAVHT7gvZgFxkWcHgtaXwjmc30xFp/EsREoZQ jA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj33v043j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:18 +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 34IEIxHK032121; Thu, 18 May 2023 14:56:17 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2106.outbound.protection.outlook.com [104.47.70.106]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qj10cwrgw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nHmiyYdd4foSjSoIL/OPxP2G885OV4W+xpoV1yEJh6a0Mziyuvz6alxnEctmad+3L2uRt54376gdS4w6zx+iRMcBfF46u5LKi4fq3m5AjyYPOoOOTWzWL42dqc+G7jBYQupAb5kmcHtcW2KEp7KYwK/1Txd0IBVoFy92cDzK2vfR3uiajvTEVDA19989SEJJ1QqcdoxWRfjl4AMt0PcCLmQ9R+cp6MRbCSS7LL7aArq1wwkbo9HcPMh+o38eKH1XuIFLJ19gxMkpD4J9Je4H5Mpe2yfntUFJ2RgjUg1XP2OMRy/k7d2EtSXZtE1wpwabK5/XR+ykiqkoEbrMZUXHVQ== 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=036u3Np0Z36ocna1vzafx6uHq45BbcXy2glhvh2TOgM=; b=jWHvhzSEgjfKgU7zCAWH/QaQoBozHO9pAZBFXhZMEgwspekVNOGX8+OJSi974XpiB2K2bZaMxC9G/JphP8LNqRLx3BC5ugEKYXFkTClXnmRIUQ2kXDHS3tSF7tIpRY7mAuDI1qq3rmEt0vmBXASAGKO3vJp60BTui0hYvvXxiBQT46ydHcGyRc/BJzbK2qPiLDIZhFa/WXfSZa9BN32cbEggLIhxMPTVheOr5pZRRbBSCnps3z2NSw5lI6EEhlKGh6+uiPOyPiR2CgZT8mBzm6MuPEddDSfAuLzgvoKGgL6bsOAm2XFY0dADGwzxPizVulMzAGfEeSUR3vJUGwaieg== 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=036u3Np0Z36ocna1vzafx6uHq45BbcXy2glhvh2TOgM=; b=NRtpEKvzcS+UI7ZQ1HFjA0EtT8YIud1i9Z6HYnRAHOrosch5H7a3boKhSFwdhIfhc+ldjXLNx5DiieUla3vXqaTi1/gn1XDlaK9l3HKm7xE3AMoPwZ3F7mQONIWTEXLfdraBAAFkVAOQZohvbCpG/o2dkdZ2MZ04dIc8b1/0oCc= 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:56:15 +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:56:15 +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> Subject: [PATCH v4 11/35] maple_tree: Use MAS_BUG_ON() in mas_set_height() Date: Thu, 18 May 2023 10:55:20 -0400 Message-Id: <20230518145544.1722059-12-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> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT3PR01CA0009.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:86::21) 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: e2a29ebe-abf3-41e3-fed1-08db57b00765 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nNDX51mYlwmH6P9Bq4jaBsMufTuAhpUd2rmtFj9d9XGEnsuvkq5gf0Y1Ts/5bKtlZD+waZerMKgn+3gamFj6Rw2Vsaj6WzQFtgjZ+H+oS+A6jkq+t6N5cnhBZsGEyXpqJqF8LaMEN0Rm4O7XjP8dl2QMrrBqB9IvA1HJ/jr85b5ybNRMSLt9ymnq3sHpKQv3iCgy4PnVHNliLjPexwm2ZLhd8NnD/moxKexSAXBoXTpKiraN8WX2u8AwB+yrh4xT93b7cAvvR0HQm4BfpCbDlew0dDoyaXf32yhxXPaIZVGYiYEIIHyn0/7IdphHUQ0VvunyUmJR4LvbShlagk4q3w6/hfqg69D6SAkYRyewiXFhxoFEPxuN0K80j3FrM7Qmrm3zFjCflQKd4kkp9DR58/cK70UkBvWWwTApk0VG8iyA1zj57SS2Kpue5YRHz8EXsoQlX9pauLdCnVIVeekLlu/k8wAjCL/d8Xh9iuk84fSynCt7V2UYtdR8asRr9zsIe6ySy1m65Efzllo9Rrr3stD1JPun5eA/6nS0JxM45tGbEmklLqF9J0oca/ViDcMh 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)(5660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fTLbsel31dNKOx5XDSrXWUn/W/o7Hi1GFxoVnQTq/ddNoOu2SxbMO+I3ML5Gx0ntM3J1zsP8HfmGGhmE7vYMElt3DDb4mJhv+Xh/wBfnIcRGkaNYdwv9yjwde7Aa7UgvkTNsHthYWnx19VQoWrD2qH0p0aX7qc5/K/qXoceNnw57k37ciNqhRoWH+ub+Krw/ev0JBMQno3MVu3vChSNvKVU8tC1lR7Y7+/1YSmvHiDjsA5oI9YXvzRg3tTuxkSVth1NnE1CIkZ6henR2KO4er5r3nnXorrfXHjk0yWjjY/e/jc5pTr5M68zcmPuV5Of33/VkDjNayPHHAj86PgZ+6GtKKVJoZ3Oj/vgRCa1jPR1ZUvi/9ckY1ezW+GSxftHu+s6CRgyUhRg/OGLwiOpBTYUMF8/8cPCMgvdaSgFEXwnlrTNQlTQwPhAffjHWy6kb0VdENcUSsVNODcAhFBfAGUhIxvFDFTS6FosgL7/N/mLd/krRX+2a0YIdlq7BnvlyN+x++H8XzSKmrHyqQMTgu46v67NTIhOGFYbA== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2a29ebe-abf3-41e3-fed1-08db57b00765 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:56:15.4056 (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: FNSUg9jAvQWqqDCnIG0OmbIvKPNxnP3c0I0sHJSAraPiLd1a2WcJfn9lxfl4kFlzrrIB6rdj3QUR1p89DgRakA== 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: -pMsodl5__u1cw-MHwCjLQ4WtzyHTN4z X-Proofpoint-ORIG-GUID: -pMsodl5__u1cw-MHwCjLQ4WtzyHTN4z X-Stat-Signature: diiet6yc1naa736dbefss8w14msg1gxg X-Rspam-User: X-Rspamd-Queue-Id: C72234001A X-Rspamd-Server: rspam07 X-HE-Tag: 1684421779-98245 X-HE-Meta: U2FsdGVkX1/JdoI1h4CkzK051TpOy7QLU8NAH5sADAM3676coXhETXKP6j2pVGOUlS9tXqeCYKeO0PfLpOqr4t7xuLbm85EjIJcXPplKkrZpKG4mkK0BQok4egVUEzUeoPfG7Q0/emQRmNk7uRzR1jiCEIG2aMG7X6f1Rzfai+S2tAngwU2gWuyQXsye49f53h1XEnppUbPCEm6O2GO4LxX8zro7UqiTxKc1kWYjz616OXYLNurjPpwNSKhZAlsB68b6RfA30ZCWc/6TilNGLiJLHA0OwzTm/0o7ksxfRQzgsgbEfhkUmdh4MI3nKoJKu93918nPR2EiCAikhqd6I00C0GTok9RQfu9y9Pd5JUjB8etPVJo0CA2lQf9BfBhBlKjRcQbt74IomoMNprwNBCh6/mo9hg2mcv7J83wcTga1PXTMOU58oOpAZMnWGQ0H68uQ/DblfGc1DijEHDRtTUFQZyW++qOncmN8sTn1rkc+U2lJwU1yXASjJ5nA/sr8okPLRA4MMmauczESacsuMJjHQketLlWvIgGPFNipv555J86kC+esau6/p0THVNxxhq5dYfK4Z2iiTq88ioR2KDUx+uOVjJ8ZWtD9kZK7tI656PUnQpfpOOcja4NM2Kz935zsbKhCPCqQs/+whrlkbjhGhOtIsBxojjSBlZZXJJ2HerbEY7W38doHHlWsygc+xdmGzyUXTXIQ5hpIZyyiggzi2IumiOuwmFkhcwtxnh+fZbPZnUnBBBWSvSUIasX9/wjjEcxOVnYvj6I8UBZzjswyTpEw4MOjpKQ7Q44CjqOB6zbFnPX/xIcTUHGVkfkqfSmcLsfFysKcKax0v6vZyWgK8em++NW1mVQZjIhTHXHVlYYYTZf4gEE9tqYjEksI13C7Dt0nzBhpoHRt1rgAVS0U9oWvjzEs4utrdQiYf63bOmZj6IaSKiVALFWImidoc5PIMaY0gr7qnvhgOZf xmCLttMC MYZjNlhwWj+0bQU9JJqV1Ms63HJij6pdjPAPY+mHN3RGHBQ+RV4W4fSWN4zvhUUlfVN2Ze+NIlgU9X86lp/Nb7npHq+ieK4lzUpuXCLVqY/2CwMf5T7axUu8viwd7IxlJTnDDI4CrXV3p86l0Tg1ljrWjsr6DoTODEkGxj4uJOBEX8iuv2JU/5lY6/LzPh4pSykgjvzW/j/ikjMAfT0yUrxuC7B5apQbFPju2U+DMGb2wgCswLEXdikqGPlQ0hxaPyPheSc0Tcldl+x6HqmAZN5g2EHpaKMssJlkK3b7PsqpK1BCcIDQG5CppLjUvVBf99LbhYUtmFs1zMFGTSAp3kEIuaYwRIWVyWEUCXe1u3vf52FqsWvIWKvKA4VqMCBtGzlLYcQydncSGJRz4CaRkfoLWcQBIC2DBEXkNTwCK3eMeCoc= 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 a594f1d88d06..da441042ec8a 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; - MT_BUG_ON(mas->tree, mas->depth > MAPLE_HEIGHT_MAX); + MAS_BUG_ON(mas, mas->depth > MAPLE_HEIGHT_MAX); new_flags |= mas->depth << MT_FLAGS_HEIGHT_OFFSET; mas->tree->ma_flags = new_flags; }
Use MAS_BUG_ON() instead of MT_BUG_ON() to get the maple state information. In the unlikely event of a tree height of > 31, try to increase the probability of useful information being logged. Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)