Message ID | 20230425140955.3834476-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 6355EC77B78 for <linux-mm@archiver.kernel.org>; Tue, 25 Apr 2023 14:10:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6C8B86B0080; Tue, 25 Apr 2023 10:10:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6791A6B0081; Tue, 25 Apr 2023 10:10:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4CC866B0082; Tue, 25 Apr 2023 10:10:52 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 3B3C26B0080 for <linux-mm@kvack.org>; Tue, 25 Apr 2023 10:10:52 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 130B940193 for <linux-mm@kvack.org>; Tue, 25 Apr 2023 14:10:52 +0000 (UTC) X-FDA: 80720099544.05.949AEFB Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf28.hostedemail.com (Postfix) with ESMTP id C9A8BC0009 for <linux-mm@kvack.org>; Tue, 25 Apr 2023 14:10:48 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=zdAb5kmU; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=RMjzRY8u; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf28.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; 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=1682431848; 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=Kft5REKonD4Srs2Rad0KiajjvtvFMzXh9RlWg1rTwc0=; b=4njFtyIm/rq0l9FUJ7f5iAYxnpaSVRiHzk+vV8OHS9CJCwmnfHH8BAkuA50giANL2EU4kf YE4La4yVZI4u6Dm0KMnx0s3ZJw8i23BpYCPlb06EBgSppxbHaWgniIVAQejjQyuO0dkmI2 VAyLOneehzYOSO1wnBghAm4ZY8yUiD4= ARC-Authentication-Results: i=2; imf28.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-03-30 header.b=zdAb5kmU; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=RMjzRY8u; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf28.hostedemail.com: domain of liam.howlett@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=liam.howlett@oracle.com; dmarc=pass (policy=none) header.from=oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1682431848; a=rsa-sha256; cv=pass; b=FxDipdboPuOXvr4n8dnpZP1X72T6PQlWmfjBVQP8WNW/yTinXjyG8zdL+TQRNfOk0Ypb3w ogfQ3BMUMecbodXxxsa51yBVSmQ6QMhm2Dw5Yvx0+lIYznKL5XW9PONEZstnlhnjVHNQAT 8ERC4Wumiig83Ahp7n63wvf2vfivRbA= Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33PDi2Zp008719; Tue, 25 Apr 2023 14:10:48 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=Kft5REKonD4Srs2Rad0KiajjvtvFMzXh9RlWg1rTwc0=; b=zdAb5kmUDIpWXTaQEWuke0WIsYGjPdIGzov/kjQ52yBXS5gd0ZZTo/c+c+9Kd9yTL4hV mBX3EajBSfOE7+CuNPxSe/ZZ9u1P/DZTJS48mixb7HrdHye8GHFXpB8OLDBMJQoBYON6 ExOxMIDzIuWNf3jYPcSbfu0Uj6hhB0+hEewSGGoMJmlGaGIGmNuQPLyFGWtqetcYFzCa P7+8mlzq/oFH5UJbN+xfiervmxSoM7UNceBpjBc3+Q6uX61oZVTB8iC1zEi6JtaG1mTJ hiSCV/A+E9E7URcvq79eVWrFPCW0dzAYJreGGY55sJzgQ9xepP90rR+DRL3ojDONTM62 qA== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3q460d5e4u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:47 +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 33PDJkRf032787; Tue, 25 Apr 2023 14:10:46 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2105.outbound.protection.outlook.com [104.47.55.105]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3q4616qsr8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Apr 2023 14:10:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gMt6jEnHj4hTQXMbJXTjr6DMOYNSGu0xyrFe3DYLEaFLtgHeEzhbpkYSKMhUUjIXy7ZEOkksO6W2uobot36XaTpcbAEDuAavpxG4hqg8vZ9K9WbzEi7B0dKOWJzRghgTgsVWwf1Hq2m03OpZhhXngkTxgJRe0KwGdSov6FHeIIQvMsQRDwx9PgB/rwR1cHxBKK/HoBUNi5dy+m2ov77RkOrVM298YB64999VleO9gmmRzjz9mRsSAmTrqQajbyK+TP9Pnz/vEszqY+fMg4xWmkzWB3DY4VCnHFsdN0GqKQBYyzLqPJjxIZR8cyGvUPtuoX0FNA6lAoWfKOArNSDKlQ== 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=Kft5REKonD4Srs2Rad0KiajjvtvFMzXh9RlWg1rTwc0=; b=Fbc2K9JmgpIYp7C/KEkyTX4DuWHCg5Zk3j0KQ74cxCB5sTlf43nyIvRABFFt1ZBVYcL/W6ogtHnrG1jGgpAT9eN4UOs94xiG4jIZcaOzZewVqvskNViM5nrpGDoL+O0IGATkJrz4QaiJOsvtk8WM0FywPL5nk78QTRE1CmUAXIaeB56clmKii0DNhh6bgXVll9WD9693UMj3zgeDPxiuX+6XRFQzZZ7Z1tUCdvlyLxk7a2/fNnJeT9W7FcNoNT9OMYmSPjSAMdZ1g43SjI5NV0GHOLmdqHF1hFmZ400N55wwGDP/uYfSkJenOgPjh3Rt8lp22qbiXaRDY5GC8NjogQ== 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=Kft5REKonD4Srs2Rad0KiajjvtvFMzXh9RlWg1rTwc0=; b=RMjzRY8uiUK9jV2+rgDxH92+P6FtAg2QwzwTRdzmc5weyIF7YSmdRC/rPSQUogEjB0xcMjdQcN7R1aqHl9JgHcYIHJyk0VpeON1fHPAwoEMecrqn0rF50LpxyD9ZeTzn6XDOdYjpi1aeEZAJv79KwcdrKyFC69wcO/yqk1oSc+U= 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:44 +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:44 +0000 From: "Liam R. Howlett" <Liam.Howlett@oracle.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, maple-tree@lists.infradead.org, "Liam R. Howlett" <Liam.Howlett@oracle.com> Subject: [PATCH 11/34] maple_tree: Use MAS_BUG_ON() in mas_set_height() Date: Tue, 25 Apr 2023 10:09:32 -0400 Message-Id: <20230425140955.3834476-12-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: YT4PR01CA0059.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:111::9) 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: ddda0046-44f1-46d1-7909-08db4596dc56 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JcFKy9KdOnTqTRWczZoXc0Wt9nPjLTFhWEspg7ZEVa7G0WZF59qX1+huAhHhB+JNVawYmX00jNZG0GLU3WcLqO5sPc6xGAmsTQJJFOXyuKisCpoUKNtIVIgEG0ExLwcGrlnKu1ltZ/e2iXsdT1HH1cQ4zmf6swdBaEe3ZSUyQqvTgvwQrHwwf+dkNuwN7G7kETAASKGOIJziqYQ7PogzgsioI6nFkYu7aY2QYExSIK0To+oEudN4QBoq3hutFSCK40K/6Pw2G1B6+6zrne80o/anyO6fOm/s7WWCz4FcWc/WtcWG8A0fFnppSDzykVKNVyBeClFhr2KDcMFtedC6xQ8EaMZm7PIpiYoXjpgdbFSvx6UCe/hxCxOWtPQ/aoFuTxjDayicZb9jxvEvgsPv4lPiVsTkvkv7K5VDrwAHZgqGO2YqZ3b2dqPtC4ydS2szosgIFCjsO8MgD5cX31O85vwuDPt2lBo6Scf3zBT3H8KD4aGgUFYJbxYeJwIjT7du+6V+cNzXkMzQ7xXZzBDjQ5bdQIGBPaMC8dToEl+C4hUpvFX7xyQ4aeHEvIR2eQ5k 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: qNdUQDsn4vejCg/kY7jl5scHa+z1dlQXv+wFUYUer0lY7CeVZVf7GgP6t8ZQIbpnZRU5Girg1RJXbvXnqtVKr43Wpmx2nNnkqB4uMLqy9o0fufIRnoco5U7s1pJFU2Vgm8UlFh3dLwqbew3b+yA9blqdc/QB9r8I/GBTolHPDu4I0xVeaODGGJXfu1fGi1i22NVh+qDwTa7f4ncvtufGsSO8aY6+ymeHo2youknKAo0FhUza5m5B3U4SBdagvMkkXO9fpt/bUq01jBNKPpaiEZuyBF6+EeLdX76FbNGJ34QG+mRcsBYx5kdE0Mf7whwH1nqZuHn/DwLK91BFs2Mf6h0SS3htgtDksTrGAYs13kEKpKkeRiZzKM0sqBtIf2R/4s6Pth80gROGl3w2lOuYdPByje3UzYHqqMP1nzaZwr0smXC3hetUDD1CubOSfEPUwTHVTGJ0VKPRayAW5sPKpMvJKmR+VVZ2Dlr8XffZ4FI+F1k4e24ye61Okc1v+gCXTNKas3m2rQWfxyRxeuYNH+/NuOhFB+6dd4VdNctlmPpzf4Uf5vIzCHZxpN43MpfYf9264hYg/zUYiQcln490sinPC59qsrvpLCqKvOXGZ8B4vBzTpJwtVCG0YFH7Ur7yYMJQ9nm7KVlIpzuewlZ39LBFFWkXuQQUJAFdfegn9VsEPQA7Dv6KCm6JGNpYdq4xrUSdTjMr8AeS/WAQC93zWYmnWThh5JrYwpVhFxtuI0waFx2mhUcuzZg2rptLL492VYuhuA5G1uAU1+QG26LYt3KAK4kmG/zwOYYP2zOwwvDacnjE+cBYGJd4fCZjczgXwkPV+w+41JqtGKg1I2iWw5lvtws6iRuPe1PtBwc0Ot7fCVukeTJS+KietAzuR6rJ/uaO9DHVtGUoiRDwLw1joVSThPE3FHeXPoDPlskq8JgpOTPnHha9OrmXS1aRO+AClztB063WdytXTFfVUHEIKBsxPPGI9+3J+3X/QQ1E98qeCTlwG5xs918nBJtst5DEw8QBtAHx8Vp0j1ftSy+h6jNJLz5usTUeLAppVj3noi2ayImkcZbwSPFQNu8MSuvUIe7mRAHm+6ORhSY7zrDf6jxZzIEAxEH4Rnr67UVAs/M/8RuMNYwJc6IwO6Z2nJ81ICUzO7ClBqM0v/+tmlDYxfX6msEqCuxjh7GPmDIxZ4Zt7OFgICW5gJiTlKda8qeiP6NChHGSsztoNV7GZzzoeYv0ui4eOxbwojV+nqPVYQhWtNi7Z4j/fL10vdrwMHkFqqhMyVPUnC/yopiRLJgjcPCaxWAyKk6yN3Dx+T/Y0QJNWRrOtXoAt7u/V9c3fDUy+gUPgnzpQe13y+6UNDa+51bnYviT6W7wGNZpE2qcKimUzQpHNIfYyvkbepq3cXWoaUmYxkYGFbfH7rcPS8oS3FsZOKXbCd65Xw7zoaV3AHFa52e2vMovyHfFZHzU576UGi1KN5ThQInmo02kRU5VgIVDLdfRtNcrcXaSLXGFo8zJ4zhVMacdhN0weQ/bK8KqjZCe1waq30prv/ZXNYPPkzyEGhlVXzCasl9SdGTMno/2+S81+mvu5FE0mWNBr01DxVhb0uww14bK1873Xe5Z0g== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: R6h7xf+iM/jVjHCn3ZnV3MqmEx69BW/X30b0+EhDcYyqUtYg4ck3BGtEu+mIviTP6WoJGCvhecxJU0WY2aoXZhDs9k0UAufEav+FH+CLPpgcF5jy8kzvxsxTrSdJuznmvO7ltwiBA3gLuFXKOTawzIEOFLDPqcLP1mHA6Z23aoh3QUfTHHqpMFA/9VyL/MmwaVy9t5aDPMS4Be4/lbdRSPtYQ9qajolBHRCzOEdE0z5yyBRFkLvQWNqFGmIGE1d1Cv2zi0jZx2nDIn9JhIl9T1nSWmxLsGKLbgKU+a1yTabtLyhdR9N4KpIMTd4vjciqBfVY1hGRWN6L+Edp0dW2DM7zaL76oF0jQvmxLTXSwoWvLAxiehlQmmQ9F8QtGwn5WnVibGMKhjUmy/WjV+UPFGZhwsLh5I7M91hVcLZNn2yhWJOtfABZQQvpmlqGb+xEpEPJuQ81qX3ZnhXMY7W+JshM2fA7GxVBEIJEmibX6M/rHNVClQO9h3pBbcflBTCF4LvC3JWRbls5WPTJeFua3QAicYUh6nwbhR0Lb37OtkDrZoeAqYucRmDiT47OPxPm+/jerbletBLjNBXkanlqSnf2qsnMCJKDXtHDkq/wQ11MM3KgB3v5ZaCI7HEEjlAOfvd2s110cG969xS6iqnaeXAq9WmYhkV9jS05HGpBDLOnqPLxjvN0xV0X++YuAliC+OiAGZagOsmEJ5feGU8tNwfAD0hzPxiKMuKaKODK/g3mbNv4aD09/D0zyueUF3UqgMbw/eGiXK8JA5X3FYrvH0Hqhe2pR3q/rvCm8hXGtT4lD7EH73faRDktIQfdzPJI27Nir8/FHHQ43zDFL7QmexuDBv0vCWJ2SbAxpM/bwasKkPhpA37Acd87VANFBc8/fnmJmublQEu/Xjjn8zh3DQ== X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ddda0046-44f1-46d1-7909-08db4596dc56 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:44.8060 (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: iedxUfOvok6JOIKU0WreE0PJzY7ptoLO4gjIJn0NiwEsKZd0YUKDelWhG+Cw+boDTCynAH4A9avLVCRY9N2M+g== 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 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-GUID: 5eCsCrHMlg9rpdwdkJZY6_BwnNgZGZVi X-Proofpoint-ORIG-GUID: 5eCsCrHMlg9rpdwdkJZY6_BwnNgZGZVi X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: C9A8BC0009 X-Rspam-User: X-Stat-Signature: q8m33i7y8ux49m7gsiz1xxgm678so4g3 X-HE-Tag: 1682431848-49722 X-HE-Meta: U2FsdGVkX1+p6CjoQA/+nX98Yif3E0+U/lG+wtaXx/7vDqpkXPKMaW0yA/urpis6q9UVSiKiI72/H8L0z90d29E1NphG0ZRplYmpuItk66cyu/ypGnhM7r+QpGuSrTs3YDYV4h3XWS45ZrlukRHAzCpNMsOgmJBv6qPBPXbZmcfKnLZRc4hrNgBQgx32Bz8mYPHS0ppuFQtt9KarQRT/6uxltuVT4CU2F+QZ6/qYRFHzAOhwkSaIpfIeDzv/u2TXxe2rBu5OllSeK2TtN83MsckuhGwJs9EYdgBFJPlkZJxczimdsm0o9MXIlRSzn492gTFAPcscyhEE+/blyRGVQb5mK92xXyziq3NHXmwlp18gDqRs7upT7wVeavgVVrAW5qh8O5ynzczpkwdcc4V9O/V2yGqM20C9Ps/itdfJZH7qz3NxhIH0i4uwNkGiRsTMNR3L7sTS6YCAh6BhxjI1hxsNiUSC95nt+ZpuipkWCZVZ/i/r6DTBDiJiFFEMLMgkvZKImFhLuK3Ox3t8lo9XvBUW2enLkHweP8W8tPGia56vVC0E8PsrxHqm6r2ckOGBQ5bIHNLyeK7r/7WaftD/tFbF9D19WUwy1fwCN1b1Up1YjwmlKApwrOsOKuXE+EdvYTXGpAeyJ1uS29s5X3ojJxOUM3iBAl7wuL4WT99JsuHXIfG9bHjZ8Ecn0VBvUE4V6Wfxg882XTN4OpGIZVCCKbY0x9mnfyzCWtXa3euPkRQKPcJtcTlQ1ce+/IH2OgX1EV0oB3AcrLg0SdK82qHIf7wHjOSp5DIZv79DMWs4jcrB3T0rQ7c9E1CugmDS9pUWKLdVmqpp1OkrYwMd+K3dLE8A0167djnntLMQQXyoFEeqxuk+8GT/NxhUjuUTYeezgIDICT/tai8Ldbd4JMG/oFQ2B54E0aBL+ZUVj306PYo4PCPcmcek3M1+AsRVSJ/ZmFP6pRXiNmW9aobKmC4 6yf1fHg2 ZKRp6Vo77sSwMoR9zH2bjBl9vWjtkzv8zjDXduRZ594+5P+ANm/i+o5OEVwvTfIwFaFSPNEDfqFof+otTgGpWEAjScenaLB1HQmeiVsdhTShu2p49IBy0q6LvZmrLaivZEzb7bc9sIixkAU7PKrl54u66LUqprHBgvi7OB1AEng/J7kuqsSwYwMbhaLUoqq3Lf5VBZ8UoDh1iXaHrY28iuVmj2wKKI3f1AMfBjsGcwgNAI6uktuvkvsuK+0TtcqTykzf62W43UcHGOlJYY8IlBn4hKn0Dsl4MGzk0Tlfv57lTe8LCBetMpztj83rLbIM2W8KZOJb7Z/jZLZpHfNvcmjyzHbAu5k/KtL9U1nL48SCDxhHvYjHBi2F/z5p2lv6fGPH+zzS9Dl0166zcB+1TpKlY/L8xMoMpRZaNyq8LTLr7JQE= 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
|
On Tue, 25 Apr 2023 10:09:32 -0400 "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > Use MAS_BUG_ON() instead of MT_BUG_ON() to get the maple state > information. In the unlikely even of a tree height of > 31, try to increase ^^^^ Again, *event*. Consider buying a new keyboard if your 'T' is broken. ;-) Petr T
* Petr Tesařík <petr@tesarici.cz> [230428 06:10]: > On Tue, 25 Apr 2023 10:09:32 -0400 > "Liam R. Howlett" <Liam.Howlett@oracle.com> wrote: > > > Use MAS_BUG_ON() instead of MT_BUG_ON() to get the maple state > > information. In the unlikely even of a tree height of > 31, try to increase > ^^^^ > Again, *event*. Consider buying a new keyboard if your 'T' is broken. ;-) hanks. I will fix This in v2. :) > > Petr T
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 441592be039a2..f1ce3852712db 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 even 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(-)