Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7027847rwr; Tue, 25 Apr 2023 07:13:13 -0700 (PDT) X-Google-Smtp-Source: AKy350YtFExaojjg1lQfX0nMbdCbjWU6mlHhHxsNAmpGlhLUUi2SHwgqazkK46qQqz6eawRTjl+s X-Received: by 2002:a05:6a20:2445:b0:ef:85a6:464b with SMTP id t5-20020a056a20244500b000ef85a6464bmr23521098pzc.14.1682431993210; Tue, 25 Apr 2023 07:13:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682431993; cv=pass; d=google.com; s=arc-20160816; b=JId/z9/FAiaxTtHr47VLjreyO79Omy47zqQCVzd6d+luLH0fBsD1BZgWApvrRJn1Y4 sMqvS6L1X7BF+jWioriBJR5CJWSIgiZvP5OSvB57FYNgJfx5vrUl4QsXdi2IElTUkZIq UkhWONGyJClDDS8BixZX6PgtljtlOEVo6Mfu4lvSIQpe89AQ2zqXrAAot8BrCV+cn402 RtbAmiC5dKgRAnVyWlDzKucqE+TLf52AC9VclEQt6HUzwc7t6In24g0bW2HQq4RKomsI 2HX7W2jPlCdZNnTjh2VwdTsVccLghXuoK89UDU/5wm1pVqBbWiMprnFXccsbxuAPOChY YiBw== 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=vfyDtNVdaiXOS6IVC7r5v1wf5CbCuySYD4Pb34MHsQE=; b=j1OE1fLJx4uSxYsGk3ytk5eNtgx9hBzUEe4WAQacAlmO5X1aTiy85xsSPvfy3Wdw54 OpD7uMDvTE9iycImo4FDd8yZUAitwf+ShjvbRH8EGgvIQtbybEAPjEmjSDzqnGDBlyNw JOmOiQJgUws8OrUferP67R4uerY7wWofYlklqg+D9h0qOIMpvwZpeGbRabkasmLGNb8A X/9LIpjbP/s6XAltQM0OvZLJ3vPkm2fnob6DgCfZnZ/xYeq8HA8BjnfTq0CFMyTA+aUK oH9/ognTPBJ7nMqdSY3ScRb7WJEYiGAd0HtjlsfKI5DmJgbJCisJhsxqRyIn59W20hu8 Valw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=dVn2vtMo; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=E14WM0GM; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g18-20020aa79f12000000b0063aed85c989si13772276pfr.71.2023.04.25.07.13.01; Tue, 25 Apr 2023 07:13:13 -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=dVn2vtMo; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=E14WM0GM; 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 S234474AbjDYOLv (ORCPT + 99 others); Tue, 25 Apr 2023 10:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234435AbjDYOL1 (ORCPT ); Tue, 25 Apr 2023 10:11:27 -0400 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8163A1545C for ; Tue, 25 Apr 2023 07:10:59 -0700 (PDT) Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDi7CY024310; Tue, 25 Apr 2023 14:10:52 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=vfyDtNVdaiXOS6IVC7r5v1wf5CbCuySYD4Pb34MHsQE=; b=dVn2vtMomqKAosKCqN3WwKI6GtbVE+uK0L2dIzNmTHxUp0emIwkNE9oIvPAiT417VSlg RYIkPNwiGTmIuD6+TUVKPiwfTwLpG9ofwtvo6n0Z/kMwiD8w96z/X897pN1oTIin0W/5 wrURgfFBp4nqVtJEbtlW1LkBj4tsT4LQ5vY69MeAhQmF7/bAJ2GDvesjEjz25ye0Qj5l uY+bA6cRHD5DIqOmsKuOvLPxclFjzjaw8XroEHRmLyxkOjj6PVcN1WyJC1LJqlSezgTv Xus22mLcNMppokaXqHXau2LV0pjNUxmp44v+W57vJBnMRngNIArApybWlbyBvTtRh0zM Cg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q46c45fv9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:52 +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 33PDGhel013616; Tue, 25 Apr 2023 14:10:51 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3q46168dkf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fw5022CHiGeRm1fa166u5E4nSJ/MzxzEhXACImzNAewP+1fZy0i79YMbACM43VIq7+Igv0sPrtSYibpDwmpQ+7xGd9PaxSLl5fXdHFesl52QuBYrUdEOznB5JLo99gWRyH5O5Gzv1adZ4X18K/SEdg97vEAWpqjmLklrREBuX64wFA05IS3632ztUvV2s9/fp67LgUIq1Y+7U54bVhg5dByCW3IPFM1m0nWhViafzgVECvfvzQ5YjSTwkxTP11GmlSczpaPcqRLSilquXKhhYxHjuUXvmhuZpOs4GUoiGg7DO6ajrOwBx7+HNT/g+Lt809xpgEDpI7Gq2PmXLLSNIQ== 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=vfyDtNVdaiXOS6IVC7r5v1wf5CbCuySYD4Pb34MHsQE=; b=IWjJCM+BVeMi0RaKRCyiAC6b4qdwIyCM46OV6hDcOJTX2t9mOAJKExJ6J/xkud36Z2HMO4L4gSD+rW8zhMLxRd9ZC4bH9Zmx8OkTBDYIi+VQM7OVc/NijMMKhg/yNOJTrDPhFLblp0E7Kt3TLnBQvySaSW8WnRg0Gwaav5r3UFiVXcGtfgIebfPSfFdDfKa9G9zKol0ETMSu8cpk4AGYEZpray+xnK3r4i4rJDGs+Q/h5YPCqJTMsb34lhx3AFohMqAc/jaPIG6RIQLXuP7exBmvqXIO83RL2jCLSyc4QbTV9/6YGL4AhSMERbmkO1dSezSack9NsKoA9CGyjj5S9w== 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=vfyDtNVdaiXOS6IVC7r5v1wf5CbCuySYD4Pb34MHsQE=; b=E14WM0GMEKJbw8vEAwUozSLZlpQWo+oxYWbtkQ4M2I34DiaKEoDe+SUv5sx/JO2/MS92h/ZiazWcnFfxCnJORq4533n5WWGwzhDCXJ2MRghNh9QDovc/Wj6ZhlrpDY5MuNy7JMVoQLE8i5MBcV4GZUqpwU4BovdSrgWr33C/484= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by CYYPR10MB7650.namprd10.prod.outlook.com (2603:10b6:930:b8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.34; Tue, 25 Apr 2023 14:10:49 +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:49 +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" Subject: [PATCH 13/34] maple_tree: Use MAS_WR_BUG_ON() in mas_store_prealloc() Date: Tue, 25 Apr 2023 10:09:34 -0400 Message-Id: <20230425140955.3834476-14-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: YT3PR01CA0082.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:84::24) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|CYYPR10MB7650:EE_ X-MS-Office365-Filtering-Correlation-Id: af8f8780-4ed8-4c0b-fc11-08db4596df2f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ArNqEuaLqkYU6+Fb/KV6c4vfpUYMpyM1hPbQZgtDwtp4KJ6v65Xo/p5BiBRX9XsEXkUCPf8kLmc0zFzUgDBHWEItxGzAA/wntTf9W36jQEIfkti0KVlo7oHhGNBfAeUyRhoa9giG6GZZKF2rdrU+cpwg/mcW/Ebq9BKb7hY5UhNO8LYACkDUhPtntbzH+rwDvBZ4LKjoZ3uPKa1je9VR0AS2S6ywY2/+ueSof00kpbI3bUqcdhlQ2F/N58nD9d0k4NvwV57CG/63UFOz10Bjz2bn5Ek8h5PDZez1fJOGrDrhBSQHMK3SWaoHh+7BEeR7QS3wewniMyO4dwF0mpoPVS4if6jHS1FQVH/W6skJ8D/N9hRAKre+Ab1qB9gAPBuvniHMmS2hpzXrHXXHtbkabv9lWTvxQIkuqIRkypgzytQBUssSupoIyJCu11ADogC0o+hWqWHchOn7DJjF3yKHcY7eORVqioCk6XBnI52c7PWXlMd596F2HenXLvI8zU7Bjaj/0k1Gb1UJUeR4E4XDyFwYp+PJW+jWBT6PTmgV+dZfPBJCy6bfKRSbAZG67TQm 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)(366004)(376002)(396003)(39860400002)(346002)(451199021)(316002)(6916009)(4326008)(38100700002)(41300700001)(5660300002)(8936002)(8676002)(36756003)(86362001)(2906002)(4744005)(66476007)(66556008)(6486002)(6666004)(6512007)(6506007)(1076003)(26005)(107886003)(478600001)(2616005)(83380400001)(186003)(66946007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?2lFq5YYX9PWnf3HLG5sl7oB9D++m91p8088gjNnSvFDMgcJLVkKXbXciyqoS?= =?us-ascii?Q?BeR4OYhydm8V6MCWAvDHyPxKsZ/JWdjOakUw75fC8o8ng441WfFtohsgZj9x?= =?us-ascii?Q?Vl+gXye8eofuqoAGVuWbjVjjHU8GMGNnbZPdOa06QFjJGQMgfH1xy4AgRfww?= =?us-ascii?Q?K1Uj2MYwSKN6lzY+lPE3OMfwkx3S/3O8lXs1OEuCpNBM1j5Fx50Gh2gOZ14I?= =?us-ascii?Q?UrFWgjzaBFYooukonUVtxGqp/Y9CEvC2xEI20eORNMnEoXoJ9StCMbX5OvM7?= =?us-ascii?Q?pNHeUA/Za0x57wHkNHAws7SrXPnGC0DUAA1I1TgjlWI/J8w740eIYtKT3UMq?= =?us-ascii?Q?fXhMcSVIi+A25WPxKOzjoM2nvr0mtzac1NqH/avd5HDkM/Q+9mBNPw+PAjGO?= =?us-ascii?Q?TApMxpBePG3+ycwBoP48QoeWmv8MhnKsl8EZAQzUZHIU+HAtOFe4LbdDhKC0?= =?us-ascii?Q?cXOLmRMMjULl9mzopb9dFrKbWqzqBmCRy6OuWuJ38Rd0mCu7C3pFQbGZ7WLA?= =?us-ascii?Q?ripT0n5rGeZb0vJrIVTg+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neU9AYHLj1D8OmDXuws5rLF3KaGC3oFTVT6TmNnkZMirAhfwZp49nApEQTPWI3KtTDCgl5ebBmQ9GZRZOfzz0BfH/XCr5R1X6p4YRimrt48OmWizOLMM0v+6UMWEAwixbe8CnONdyanK2iq5xWzJmHLouZ/r/Mg== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: af8f8780-4ed8-4c0b-fc11-08db4596df2f 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:49.5911 (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: Ujusue6qwXfe72NXNjKIlRucHkFi5jA7UXaPmdMdnTGksPUB1NL42su4Fi91GQ1ZslyYuIX1th22ljjA+sMhtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYYPR10MB7650 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 malwarescore=0 mlxscore=0 phishscore=0 adultscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304250128 X-Proofpoint-GUID: YCXe04Qa-LOInenH3wgc7AjEM7OMjHEf X-Proofpoint-ORIG-GUID: YCXe04Qa-LOInenH3wgc7AjEM7OMjHEf 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: X-Mailing-List: linux-kernel@vger.kernel.org mas_store_prealloc() should never fail, but if it does due to internal tree issues then get as much debug information as possible prior to crashing the kernel. 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 b8b8e5d9ed7e5..28853ed23fe8a 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5762,7 +5762,7 @@ void mas_store_prealloc(struct ma_state *mas, void *entry) mas_wr_store_setup(&wr_mas); trace_ma_write(__func__, mas, 0, entry); mas_wr_store_entry(&wr_mas); - BUG_ON(mas_is_err(mas)); + MAS_WR_BUG_ON(&wr_mas, mas_is_err(mas)); mas_destroy(mas); } EXPORT_SYMBOL_GPL(mas_store_prealloc); -- 2.39.2