From patchwork Thu May 18 14:55:21 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: 13246940 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 1E21DC7EE2A for ; Thu, 18 May 2023 14:56:28 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DE8C4900003; Thu, 18 May 2023 10:56:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CD91F280001; 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 9EED7900003; 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 7C0E690000F for ; Thu, 18 May 2023 10:56:25 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 43B07C04C7 for ; Thu, 18 May 2023 14:56:25 +0000 (UTC) X-FDA: 80803676730.05.9FFF915 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf21.hostedemail.com (Postfix) with ESMTP id D86CA1C0018 for ; Thu, 18 May 2023 14:56:21 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Wm7+RcP6; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=eoa1fJSo; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf21.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.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=1684421782; 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=+1Cnymg/7mO2nO6mlpzfBpp4aHgiKpcmRjtkpJNYvLU=; b=MUmZOPgt+BcFyF6YJBYaooF5KThjiYGTOELPA/kEWBNPAoF9hz1+pvLLEOZd8vd3Dbvqmp MQ5Zn842PE9vFSrAGKNp5z1o9vWcI/+n208AswbsVRZ4HSKohw901ycqLolqE4yAHcJFAb YZ7S3DiRBEjWbmuDrIC7Hr3C/VNJ2W8= ARC-Authentication-Results: i=2; imf21.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=Wm7+RcP6; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=eoa1fJSo; dmarc=pass (policy=none) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf21.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1684421782; a=rsa-sha256; cv=pass; b=P7N30kFbgvUicFUHxjx85faMlL6NQNXxZ7x8hnb8bfU6rbdgHjvHkVztqTvwMS4JVRejN4 Yhn8HRSdVYx65OqHpWwbwg6GfGMEjHFl2hKhEAGHjsWMa54Ic55VeP1UKZrVafNn3h4nPO wjFUYYCzb0q0hcCQrXQ1NPPP1kRiw0o= Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34I6Iv19012574; Thu, 18 May 2023 14:56:21 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=+1Cnymg/7mO2nO6mlpzfBpp4aHgiKpcmRjtkpJNYvLU=; b=Wm7+RcP6psDXAeM8Mr328Gyj44F5Ujrsdo/HbZhmXffZi2zhE4pTfARx7TfYVJOEuONw S+ZxK68wRQZe6ZrNHEsRZthH48HSWOgtFi7WJ109M5OeJ9ZxUgKiMu1xlE1j1u7233Ti KLX77RWq5xt0MkaPim8nYULZYGXqu3QxzqE8k+wJtVimo3WO3G+ShiUVKfpuR1+EbRqe avsfJMIB7ZFewVoQVZqN6Z954VICBjrq2V0YXFUV6OUburx5kq7PV0sBgTLD6x5Nda4J DURd/fDqEejJtqHLzcfbECpl2j2EdgwdtMaYaqrTKjIQcjEORFbWQgaEXW1bmcoqvZ7c HQ== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3qj2kdrgxc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:20 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 34IDMtjY004153; Thu, 18 May 2023 14:56:20 GMT Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2107.outbound.protection.outlook.com [104.47.70.107]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3qj10d67c6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 May 2023 14:56:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hKphV88DHwmuTQIXLpPqtdKOc8PgYy1ngTJ+Q68mQhdwnIZvZFY9pYAD7gHvNTJ+h6znbj5AmPdQeL0td6/I6bAge66PQmxvTeVFtQp+vKwzYpWBiRM5h7YSh4nJ7xzpKoJbfRUtBRMhgDCqPwEMJtEN9fQdLOy3bnHpFVc/wyFNJi3RCPkI66DK8RK5bQhRXU5GBRd5z5D27sSQl9BLzX+DGpvb1Sv13gQWs2bkgV35lPg1cX0PCBPHBwXMP5rqIjMM2zKK7OtyAgIsYRiYBgBSEAyg5d/OU4OSmp/UfoyoL4ZGjejAT0Kb7D7LC62ICE19GgkFYsYFbFC70gRCPw== 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=+1Cnymg/7mO2nO6mlpzfBpp4aHgiKpcmRjtkpJNYvLU=; b=HkbI7rcAY9HAhyJks5+bVXxDIblaHEbYYhUWiDj8axOCPNNwbU6X4aQ8CWWQnlO2WA160JBk3fAaIqTcuRdHMu2U0GnecJwKv4bvt91Jax647dvPny04uyeQ016+AYqx0gp9tyAUxAvZmxP8UsYadqxyM9RS4LxqzYZoJeO89+4ADmGkkqWZQnGzcxB0Nhy3KvYLiWNUjAlxhrix60BKAvKOcyjnAZ1JHAO32x+e1/XODVPNZC6On09Sin6r92Z2N8v9KqwhYtyNmJK/0QSXnZNixTTRJqadUQiYHVlm09IAWSXw1fx3aV9G7SUbWAc4NEq01FHLxUwc5iW/GJvvZA== 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=+1Cnymg/7mO2nO6mlpzfBpp4aHgiKpcmRjtkpJNYvLU=; b=eoa1fJSok0ZweMopdFVzFu6/FUmYifE3vWlhI0FnoyxUiGS9pMEyVQnSWJp5u3IoCagvwSXAcCvmstt92na0v/3Ridvrj5+5yFS0u7SAo83tPtLMNH+HpQusiHca/E2WFII340VARA+iqS7fhGxNezzNED/mYkXbEQPDO0e+A/w= 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:18 +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:18 +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 12/35] maple_tree: Use MAS_BUG_ON() from mas_topiary_range() Date: Thu, 18 May 2023 10:55:21 -0400 Message-Id: <20230518145544.1722059-13-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: YT4P288CA0008.CANP288.PROD.OUTLOOK.COM (2603:10b6:b01:d4::13) 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: c1fae5ea-11d1-4c0a-df41-08db57b00955 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7fSbEg9awxoHeKFAc0ODXlmPmWQ80DWHn6JX2jUIz7Ka3uAQ8DRW6NNp9txjWHK2aPgkUV5s278rsN7114S0hgGMdmcqjU8op0VBkdkgLc5sBYNh8gluMCvXxo/tosACNgydlfFzZta6UnfWYK3BQU9cgBEQXbgY5QNILClRt06LMJzDvJB/onPvswCqzm8DNtTxwvJkqfDOMtJS6dsPvmZSYytpw00hXDocVyTDpHVmowVNKg3nnFJz6MrHZ8dXBuwQ6Fd5YGtg0eQBGwhfW0yPzu/50J3o4FyU4u0B6+zq9qoyohzcAjxbN6t+p+jJTyCDgHWEItUbcZXSg8QtWDeOvA37M4XASGCn85m1TNpPXviH9WlVc2SZf3v9RsfPY7ZRqCi8ssY1vawmabQ89CxZCE/SyWUP9g4SVV88ouIIWib7OLthUH3QQ08JCzWHW3Mz70P64dnp14YIchrMmSqiNTKdu9IN8B18Pfs6Mbust2l/7Q/RkL9xaZDluAQ4SweY23JB4TAVDi27BDXAHqnYbmRPWb+B2w/CPG1r6T48A4ZPaKoGm3QgQzcJzc9q 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-Ant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R3n2p+dCIAUhUkzWQcRdSK5WwCGj3uVUE5j+3Jmkzz/5O4PFRJr66TNUWExGlulDQoqVIZW/PLyImdmrehYFgnM7tpdzBWKL9zEagZORl7tu5NTl7ndI/Vw7/mcZqzyGV4hUClj+FjvDHdAyj9OviYe3d+x6aunvXFwTrbKmwwykJ4NvXpWaMOK82UQ4mkNkB3s4k5hX04G4It7W8VqzBLiPYB6gmB/woR+JOrkWmWvzz74o7KabfHJvCepxjmCUziCDMogdx9a/hjZMUAgK9VnhNOibJPmfzwefXDSHQpMP+iMtI6u6FIEa7WlsxkwKRK55I7UqsoYYG2KcJw9q8WhR/0ymNIwKEQn3cfHNkkHNsc5jnlB9DHvMuO3KwRRw4RwMj0u+b+k347ok+N9QRoeOoKpvHeyf4RNssub3pU0GJLS+5zY9MF+SOyrELPF1Chaezag== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c1fae5ea-11d1-4c0a-df41-08db57b00955 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:18.6545 (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: Ru3PJnR2uupRfvvz7OinE9R9uYU4e5d/rjnvqawPBib5+Ht48vClmwcpVLL1g5FeeMDk6J14AVlsM13gjmFbCA== 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 suspectscore=0 spamscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 adultscore=0 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305180120 X-Proofpoint-GUID: X8EkVB2_hK-VlevvEUyDX4q6VxMad7mM X-Proofpoint-ORIG-GUID: X8EkVB2_hK-VlevvEUyDX4q6VxMad7mM X-Stat-Signature: ug87owuz453xf4ub4udgzd46na4tfngq X-Rspam-User: X-Rspamd-Queue-Id: D86CA1C0018 X-Rspamd-Server: rspam07 X-HE-Tag: 1684421781-592913 X-HE-Meta: U2FsdGVkX1/5tk8Ao09gktVt6acRaz58lRCV19QWkODHSrLVSIdjNDO/31EKeOc/imL8KMpJQu9tOpqb0wPxmS89cZDmqfzSn8bnLyCErCUk2Mart9SJnpNng1JlhY8QLz/x/hclSI1Zl5jWTdWe6DQn3DwGYwecN1Ja25l8tyX2uvd8nfFkpaHU3yqA8AkkRBrsJl9IbVFYA5GURf14Wfz8/hJEdGkNrTJsVK6gL3IqQCIGYFVca294t+AdWy908d/N1WKuPE/6Dv0489/QcLferZTsLlOvSPQmFslLr5pI2LYoTLcQcGcXjanM9w9ULJiLh+xzL/zt0zJFLjpx5y7nZDO+sXmgz/RZNEeznDcNblfy0YygT9pwZYCnwPh0j5iNpqxGbaohY7MkqQC0xU6xP5OgbcHQugapJ1wJAuvc1yx0TzRYKgT03L+6OF2z86oxAU5I88KndTAbl16zKeuLJIfscRf58m3sd8DCzLx4Yh5zHdpL4Y8q93VVTBNDEHdMWaLtUTclDeWP8hgT9eRMm5KA5NuODaCseF4KKiXT6qi0i6P5mwJGKY3M1r8HVgjMHXYi7w64Sj0YUq+sMjnPPx1NeBv55uhb5QWtJpNNIMPu0MYdpHa5wxdx6mM1d2Fwe78muCyvtHEosw3kXVfCg3I1Punb5m5DEzOlckDmtD2grnoW/JPc6q1AnsoBReOIJHTDgbUNPGXoGcDQxzExWsdBOrhbCYnHmdZYsKpqx8uWJBAE1FHJ7MaKXO1bmW40LKX+gAYGa+B86HuYP9JHWLAglfNf4O9wr/+p5yIGOO8Fe6KVxDVQHyJp0Lv1AmtWku9EZVmq8cRbxg6oY5BclIoCFEkfv8AjRHT0JtslWjYOzHZCra67hjQrBoaIqwzq9PY5z4BTqstxn/va+x150ujBNI5mAN3xSIphIGskX2DSo0Djc31i1fKC9THuK+8taOyNmInTkX5W1HW 7j+Acq7x HcS3i3dtipY1In3bSLl25VsxeXK3jwDNZtA0LXcEEbGZ7vW91RBnsTy555CGMeqfXJmv88Nmdj1u5d58wLCovvAuRBebrBVP0XnjM5g1Nt5UcDR4LhQxjD0FBKxZ/UfnDgMx/f/b4pvbwTsC8MiehCUnkbpSxG5KMa6oIwKVwE7Qq9G6hP7rv+i4OtRh6DJut5I8ErLg6NCObcaQ0560LXLAdtolzkE8HViEmAxUTerMtMvhTDj3kqLX4RgIo3F2QpJscsEYTOno7OQ+wOjSCSg8ezXmuqvwk8grkv+wbrxAjTznglvLDPk4XQAdypLtEt09XxHkQetNUYE8xdEgqtoKxTpEtzURAQwsMbQiR6IVbI2uBkCRpwceBgbSFhcpknliEnZeYlajUmGUhfN+ZAAEmgxff3NQ+gShonZFpPifPZsKSU7IkDJamykDyAYvc1JbzqMeQ16qg9gNg51cC6KIDMw1nOCH8LqhUWrYohEAuvhZUe+uISrrZCA== 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: In the even of trying to remove data from a leaf node by use of mas_topiary_range(), log the maple state. Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index da441042ec8a..824967872d42 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -2345,7 +2345,8 @@ static inline void mas_topiary_range(struct ma_state *mas, void __rcu **slots; unsigned char offset; - MT_BUG_ON(mas->tree, mte_is_leaf(mas->node)); + MAS_BUG_ON(mas, mte_is_leaf(mas->node)); + slots = ma_slots(mas_mn(mas), mte_node_type(mas->node)); for (offset = start; offset <= end; offset++) { struct maple_enode *enode = mas_slot_locked(mas, slots, offset);