Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1230428rwr; Fri, 5 May 2023 10:53:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5z+8nGEx34xmhxMD3iPsb2Df4MsLDLHZrDFb7kl6xuJl7KXsXie09iOegvm7VDRx2paeJa X-Received: by 2002:aa7:88c4:0:b0:643:958e:f75 with SMTP id k4-20020aa788c4000000b00643958e0f75mr3397046pff.31.1683309212731; Fri, 05 May 2023 10:53:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1683309212; cv=pass; d=google.com; s=arc-20160816; b=BIPs+PtZ+5V9bp6VhEjkOoQSur6J6vJG16Wu5BJY88rIfuOfZ6P4fi6+BLmwcYK+BJ IC9sNslO9wcJA7N/Skv14HZrVeEDk9mGcQKneLUEOs9YY9WpGe+cNQR171BdfsDjjYKc jLokmacdIOPot9iCaxJbKo4KwYmjuPrwKiIjjOSuvMmH3nfZJgWZBfZ0oOFN3Uh7yvSA 6knIrKmZeLOYl5Be3nZJ+9xVmfAK7W2L2B4u76SZzG4BcmiBlhCCPQ5Y0uc2kfXgFear jRWqmqMr6/Y+7nk8MzpA00wah1FqPTQUwmgQNevli//zXJnSsRMaCFOZq7iQ6UARQ0Pp 9QWA== 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=fS3QzFuLOtxJjXjPIV+nCtOmoBdMiTTxr1dJoGyuKyc=; b=JIquJrz/vpaJqMZKTmuvrRjX9OgCUETq7YEHD6LJBTmrjXM1FPrIDiBoC4tYBbKx7W mevrYjHkr4+bGVIUPCKcAhl/+zcdW2/NN3rd8WqQykm6jsy61sdRSaQXr+JxkHHeGkHt G/2XHDWsXP43DxJFrRJGAK9xK1XgkPBYpxBda05UwHeALgTJMPOaLNKafg7+1FUSWyxA qZin/fzrraR4OvIlF6DQT+7HDIWAaKdnEyyTYPGx5ZL12+RnA4VPdav3ipklTXewS5SG ToOODq+vIlkze5/f+lo0ARmgxajD168E3pYS2CbTFJ0P38vjrfXmw5N4iWgG1tia7vSg TIYw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-03-30 header.b=JHS7b5VT; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=oDzev12C; 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 t14-20020aa7946e000000b006436ead4ac5si2545281pfq.268.2023.05.05.10.53.19; Fri, 05 May 2023 10:53:32 -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=JHS7b5VT; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=oDzev12C; 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 S233076AbjEERpU (ORCPT + 99 others); Fri, 5 May 2023 13:45:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231730AbjEERpG (ORCPT ); Fri, 5 May 2023 13:45:06 -0400 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A62A1A4BD for ; Fri, 5 May 2023 10:44:34 -0700 (PDT) Received: from pps.filterd (m0333521.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 345Hh6Bb027906; Fri, 5 May 2023 17:44:17 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=fS3QzFuLOtxJjXjPIV+nCtOmoBdMiTTxr1dJoGyuKyc=; b=JHS7b5VTcmxg3kI8kEVsQAC4Ti1h5KVNcZHnG4g9x6Jtoz21LZ22SdikdlT2Ec0svw8m YyCCMT1gBmtk7WMbK0hp9AUYTWds89ihmx1jlyRTA98y/931icU42GOtH8sdVNAaRyvD JmDDatY5lx3lO2eHIU66Duy83u3vNu4zUOWV1DCbn3ZAm2IZoO6dwRR0c/7O1qP2d8Cu cK7Hr3vYATv0qKG4VOF/4kAZ9lAGnP6OLPWiwVAWMacYxllKp9qtq4zBVRT8elGWFNip eW5zFlssBhsxHIrrRNhEvNP3o8BaYTPilxnQXdS7iO0xuGRnInjuwTvfSCukaXpAAtqh Ew== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q8t5fwf3s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:44:17 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 345GHB5t020761; Fri, 5 May 2023 17:44:16 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2173.outbound.protection.outlook.com [104.47.59.173]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q8spa5fbr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 May 2023 17:44:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lcKTlijIpSfzxtY4xlFYqqfczGnV3EEHI3a0kKjjGGIbo5goYdQEwJHo4/ahyJh8wK670VRrDypHnkQWNfedukwWnO+QCu/5/D14BvRnRn8Rp4eCtvZtgMVfIqvVmvM6Q3zhl5XxZ79wIfOhQ4MtkbHs7J+RTTEnAkYtVxMmmwiaq6dD2d1nDv7Mb/CaNmswGPnOnRZwo5hRWI+7W6T/YMxgtIIkWAS+jxSbi9NO9ocrIfGiaWh6xmZDPig7PimNF4uQihCl8BnobK8dNvIzoHb/BSq7KAf5EaFvMySiZq6+g+ibNSLVJn7kpCUouw6fByyKm4TLZLx6qcOctWm5Tw== 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=fS3QzFuLOtxJjXjPIV+nCtOmoBdMiTTxr1dJoGyuKyc=; b=BL53pTWtZ2TQjrSyUHMvwBFsRu4YpMqdFEB7HZcbTheeY9rpa8VQ0JAoOz+JvE+XWciSw9uvkeKl6DJizb1ssI/vVUsdhzQmPZ76DuEf8fh4gslSflanHp5Er+mi4JhkMPxYnClkctNztNVKFs6AT9/GCVrL6JUrSwvO9TBhcUUYZs5TdIE2ISWzJRaPRYb8Z4mt86xOSCPyWdih9S3mFX6gLK4b8FODUGCxLuEhZ3CLV/L3kAM+e04kp7sqXK2uCztVoH0MW6ATIf3tjhA7KAj7LceICjS3Uw6R81oVWXt6BeDVUURL2wSqq0pU6Sh4niNuWS8a/ERvdnh/u0zyUw== 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=fS3QzFuLOtxJjXjPIV+nCtOmoBdMiTTxr1dJoGyuKyc=; b=oDzev12CfoX9CrqodZqUfUZR+pAHGavHs4HtihNQoeQ0t9LlAbY6taRoflS/2eqn1WBRtdR5ZpgwZBwxddiAEOrs9oKEgQZ8Tn+tBYmbhtgp7cxfr09ZFkWU9sBDUWDVMYiOFGSP4KurDGdOFK0E4NbAHiZ5Cny1NR4KX8TumtM= Received: from SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) by BL3PR10MB6089.namprd10.prod.outlook.com (2603:10b6:208:3b5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.27; Fri, 5 May 2023 17:44:13 +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.6363.022; Fri, 5 May 2023 17:44:13 +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 v2 13/36] maple_tree: Use MAS_WR_BUG_ON() in mas_store_prealloc() Date: Fri, 5 May 2023 13:41:41 -0400 Message-Id: <20230505174204.2665599-14-Liam.Howlett@oracle.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230505174204.2665599-1-Liam.Howlett@oracle.com> References: <20230505174204.2665599-1-Liam.Howlett@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: YT3PR01CA0053.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:82::20) To SN6PR10MB3022.namprd10.prod.outlook.com (2603:10b6:805:d8::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN6PR10MB3022:EE_|BL3PR10MB6089:EE_ X-MS-Office365-Filtering-Correlation-Id: f0cb0878-2d0f-4038-bba4-08db4d905715 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: doZ9hF5MoukUp4x0aD7+p7F2zFLmT73DcjH+3apq5YqTyB0TyxC0iNwBsLEhuizFwr4rJ24mfb8FwYhveVOSwZzt6WmbIWMIYYen7sDxkDn+Lrup/V6cK/6/pyT9uB32h5FQgQ4VCv+Nhh1Ytv6DHwcBVTbI7S5358m2+q5uVxeIjuH5hVqnWNK385/6UtLNZ2Ue5mr0koQzBMGJKnubEx2V8Nro2bWjEk3ymTQB98COXRrO/+K1Af9eXgn6RZfMZ1VTzDaKytJpe4s4zdH0bi9IBxDJhoHujrlX7S8wBNIVrBeoxXNeoSRGdEqhioblLy8R1hPzRYfATyptGVEOlULNniiUyi+lJBBuvsiJlp1Ft98C+2LvTTc8qN1pRTMPl0+3tnySOiQ9fmGAYDh0kWBWGKwDoQ8ZPuGQ3AbmCIamAahDKpT462N+yo43gf4pim/XQ6O3AhbWuhUyahxFtKyaI49XPGIrEZBboeDiVaCX2Tr9jPlWTNO2drMIx91pqhyk3ISFL1mKdQlj91/MD35u/Y1nPW2bGKbuVPZPuTUyS8HJ+RfPpDrBkhvBuBKz 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)(396003)(346002)(366004)(39860400002)(376002)(136003)(451199021)(66476007)(6916009)(4326008)(66946007)(66556008)(6666004)(478600001)(6486002)(316002)(36756003)(86362001)(83380400001)(107886003)(2616005)(6506007)(1076003)(26005)(6512007)(8936002)(5660300002)(8676002)(2906002)(41300700001)(4744005)(186003)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?TPM1q+8DzgdB1pFNufba6gWqBwrJH4VCI/C9mJNyHghyJPyiwCWy0CHjoKp6?= =?us-ascii?Q?a9fpGsc7xQh2c0PZ6P2zIWPM/3Ge2syZKJqSHtqETuDZfh0/F1HOTa1IFDSK?= =?us-ascii?Q?yha5QrfcsNdsQH2x26AqZPQ5A7b5JPG2ditI2EGqRZ2JywnQ3uQi53XIef8Q?= =?us-ascii?Q?rnah3QzPwIZhenczqpLdFRSlaKeSd4VM8DZRXU2/XiieUm1qhhVk/0fKGq27?= =?us-ascii?Q?ST8mMNwpiLOFbFRAqfXPhuNauUdsspQN4xeuXpPrVgJd9F/jRhmsScMssmCO?= =?us-ascii?Q?2QsZw2Z1XmOVwHeFHc0XQp0UUkrnnERwORDib0MGAlLTb39hbIOwxX/r3t4x?= =?us-ascii?Q?uDi3yIyctMXAF1F5HdET5Z6AfomnHanShBY+o9MZ9CuJLV98AcgR8ccP7thG?= =?us-ascii?Q?GGdAet++j+wraP7+M5iFXOeYrp9F3PWE4ZY+zanQ0fJxoeopH30gUH+9j5tp?= =?us-ascii?Q?vZkTxl2e1rDqmwqV3Zp20IzFJ2KMHjAC/yscNA64n9W2cC0Tsy3tB0Lz/vq1?= =?us-ascii?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BAf61kj9KkZHw42ncBBPkSBjwc7C+mzah3dy+dxUXnepn8IWimKryVyGTxC19HOWpzoVLOEkqtruAvj28pAgTvsYl//wEBRXfj/CT8nfxN6KjNppaU0RnwjlkP6yBrOEOo+I8Pb+fOUFyss0FJVWqO+w+0IrF1+xpuleZQEjZRUA3FRdukeAvQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0cb0878-2d0f-4038-bba4-08db4d905715 X-MS-Exchange-CrossTenant-AuthSource: SN6PR10MB3022.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 May 2023 17:44:13.5932 (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: rorvM8ncg8TIBPwTacTbXFmer6WvQa9lZ+6nzf5pAxflbqGlls/IlXtk9PDQZKRCcTXFk1OHHJ067vwZBYrCoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR10MB6089 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-05-05_24,2023-05-05_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2305050146 X-Proofpoint-GUID: hU4HFTngmMBmCtnLrJ29gfnmbBSHgVcL X-Proofpoint-ORIG-GUID: hU4HFTngmMBmCtnLrJ29gfnmbBSHgVcL 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 824967872d426..d5ccf7bcf3b5d 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5761,7 +5761,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