From patchwork Fri Jun 7 18:52:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sid Kumar X-Patchwork-Id: 13690600 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 EDE1EC27C5F for ; Fri, 7 Jun 2024 18:53:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E6F2A6B00A7; Fri, 7 Jun 2024 14:53:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D86486B00A5; Fri, 7 Jun 2024 14:53:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A05346B00A8; Fri, 7 Jun 2024 14:53:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 77CE16B00A5 for ; Fri, 7 Jun 2024 14:53:49 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 3D4361219B8 for ; Fri, 7 Jun 2024 18:53:49 +0000 (UTC) X-FDA: 82204991778.15.997B8A1 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf04.hostedemail.com (Postfix) with ESMTP id D3E9540002 for ; Fri, 7 Jun 2024 18:53:45 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b="Wn/pWOf0"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jM47eTXs; dmarc=pass (policy=quarantine) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf04.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717786426; 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=txVUe87r89sa/r6dkQBB9JXM5MiU6n0BwAusUfBDG20=; b=8HcUYJoG5GHJJhYPrSnkAI8/4hSl3bhalc78yuwQ8idoOmHspwBo6rLPTKygBsNf6suzFG G3kvKyux4QgDtYaEY4vwPPQiUA6s4GuAZ4r3g+7yglwY4F5mJK/i3xjcLmGJLdK0kOT/Kv rQyufEz6cCItqPTdMGPym95DTs9i7hc= ARC-Authentication-Results: i=2; imf04.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b="Wn/pWOf0"; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=jM47eTXs; dmarc=pass (policy=quarantine) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf04.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717786426; a=rsa-sha256; cv=pass; b=ZyDYfeRy/15dXOHTU3LEmYq435+IVQRNXabo132sNLK79nrmbNkwm3gBeddMQIDLOdD0nj b1Iw8/jd+/h+57I04lT81fZaKO+5Y3vHbbiivSkO7q1UPy2zp7LEgx/RKABNNwt6/eZkcQ 3S3be9YJ5rrGp19X+tCaTOF7hE3LG4s= 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 457Cui9W016028; Fri, 7 Jun 2024 18:53:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc : content-transfer-encoding : content-type : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=corp-2023-11-20; bh=txVUe87r89sa/r6dkQBB9JXM5MiU6n0BwAusUfBDG20=; b=Wn/pWOf0w9AcHLetpZHNfsGbe79H8pS3kPQe5/9FvEUSjmfrcHnRVNEArKS+scEly/PW QJ9YwFmKK5KH3wQoEaEoQWy/VLVnd8/wHqcLGxF8uRZqTNNwEgtmtrDQcUYg9KDGh1Js H1Kh6my9H5z3euCfScr4YHdv/4Q7jAEJZ4ZutrMsYzDzgFycHiXtQwrewHmHyuNkCBJO VKmg/aHSYqSbbIjjaBVuDEOD5IHiCqtjxHntHBD/OViyGZK2X27GTwdzCcqlulhIloOx g50pfZOs8Pz4Y62PDAm+RNZ380WXFGRAepyiZqjS++WMNDraQMX6nOd8XX75IV7E8MPX ig== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yjbqn69hc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 18:53:42 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 457ICR4F023938; Fri, 7 Jun 2024 18:53:41 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2169.outbound.protection.outlook.com [104.47.57.169]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrr2k7tv-5 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 18:53:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IVoVgsZEsqtZWegYCqRDDoSpE0E64vnOp9f+5Rl1NAjMeIJx3LkuexlS6aQQdQXUulksOXdH1NahEgiy85m0VoeUaqxhhMxoBJhNGWP18Fx6vRPxNTj0FJbB2nDwvqZE6z2rMPTMjSFiT/OQzI/GbMOo/xIejmHWRXa9PStkmCIk9EnfTKa8KLT7QgFzc0DgS9zu5BP7FJbdK/N92/lvSGHJLS7fG0TIpIeNRi8XEIGwKEKQB/2bxhtm51s8OJsS47ZyZuH6UGWvl4ZHKyZbD2VzTzLcrVhUKyPDbVXAtNFbnI8wxYBzDx7CK4u9YJ9+X6E+aW+WVv1SAXH9TMD3Sg== 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=txVUe87r89sa/r6dkQBB9JXM5MiU6n0BwAusUfBDG20=; b=H0hzFyjMpWefWOBoHqNvDNJ1Hmv2/wgknJe0SiFsm5xHfmwqBUH2AO9244BmLll7cLiV9U1vss6QKp9eApWTrp9uNDB4VF8AFjA2Sx+dvOPl9TnK/GvRu3cN0AGjPGKbwxLWyooG5McNfedjdhk4J5DgQIzMH7doVvGgLFghQEzkiNBx88/bllqmFStOInJU7ivCqeMpVwKT7ixIORYEK8U6PUK0Lm4LWB+QkBnFrzZLLSp3H/2A+drm03qlaz904juC/hoJckI7MXe88YYBx2naOmA3GDuui9hl6n2mdKt+EP5jXDA7cLCNDPGYmKJg4SnF6WDq6RYcRN1Bd9vjKg== 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=txVUe87r89sa/r6dkQBB9JXM5MiU6n0BwAusUfBDG20=; b=jM47eTXslYt1uw8v8AuLjjWHbNtBaqZjXuV6sN9fHOB8HIvHckmtV2aHdTeu02u6wEL0Cv0tTq6DxEXLrLIBWHtIPVRpdu/EsdbTA9ZmzTkOQ7T4hCGcpk9X0zsMQXwkv9nOtbJ7BmaOhZq+bYCyrgN9B2CvtIBUZte6dShAF/Q= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by SJ0PR10MB5629.namprd10.prod.outlook.com (2603:10b6:a03:3e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.26; Fri, 7 Jun 2024 18:53:22 +0000 Received: from CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::eab6:6dcc:f05f:5cb2]) by CH0PR10MB5113.namprd10.prod.outlook.com ([fe80::eab6:6dcc:f05f:5cb2%7]) with mapi id 15.20.7633.034; Fri, 7 Jun 2024 18:53:22 +0000 From: Sidhartha Kumar To: linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, liam.howlett@oracle.com, willy@infradead.org, Sidhartha Kumar Subject: [PATCH v2 08/16] maple_tree: print store type in mas_dump() Date: Fri, 7 Jun 2024 11:52:49 -0700 Message-ID: <20240607185257.963768-9-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240607185257.963768-1-sidhartha.kumar@oracle.com> References: <20240607185257.963768-1-sidhartha.kumar@oracle.com> X-ClientProxiedBy: BL0PR1501CA0028.namprd15.prod.outlook.com (2603:10b6:207:17::41) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|SJ0PR10MB5629:EE_ X-MS-Office365-Filtering-Correlation-Id: 8205936e-3d8c-4830-264d-08dc87231ae2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: RlLfwVqGFaFyBI2DdDSqSQQZ4lWLVY+x0flQbRDFrCVHlU7NW8aNCW4NLGOzR0OAiFaWOe1POiiMO5kpcXmLEUwwaUPmBzIOvucKlZCM/bFp6OuWqVocEhC+kGAoKqPCucl5N2DlDrYHE9VgA6huSkSPHFKIoUvjW/1bEYwuny7Jcgsf2GYbPBv8fy7Zjm26nLEEQW1d57zmTsT8AYcZJ9wZr2OV2yz+maURBOjE7kyH3AJLCyUQI923F9zryWXS0p7/M1WLaJA4vaQ/UkwVp5TiWv1Im5ggeyJORBtMZ1AQCGH8my4yBGHzNsV8MdzdPLGnR6erMKXEVj9amSnDoGm5ftwW7FWVAMxJ0rbZszUTWi2mVDkKyKDdfeVnXFZ9J5AFxu8qvGHkjhLZEireEdomqreehcp63PQRmWeOl2nr/i59vMSsEzDI3MC1ngUJPDxn/DjLqZ8gQNV8Y35eB73KxZ+dqwJyHS/i4IdZ1fqv/LPN/xwyAuPaPCghUFH3GTXVNqK1JYtNgYUTyqSnyAIk6+j9pKiV2LNjIt3fuehPeFo0V4tVc1u8mTbsvQ9s4jYwloigqWX4DMIa07mjTTMemreN2CGyjYAl8Dq87SaDKWh0Gyp8/TaPaLjWQ0mMr7qdzA+ToLBVyZ6sAWuUAWaluTMZ6/yboWnw0c0LF5cNSOghaylkwdLqb4MBRo4XDRa+062rjLZCjaAjfGX359Anl1nguwXbcF2twYfVabhyJ/e6fJaYADlXniYU8lhUIG7wAzraOX7xrxlj5rFX6jRfelSYzxgDZzbanXgvmhuqaa1WLIPsx1dyRKx7dL3VnkkJr9geLZNSXYd1SoFqW/2vEa2995jQn2wmVIz/psQco8NWauA3zCIXbBhXIuZPOttVQTwrryKKBEVvonx9b86Is7sYFDSRrYF6PstHdOjjX/8zrEZjSX5itLcOOZi/D7h8IWNvBxyPcL0yWsgwp87gH3qi8FH+g87ybD+rZ0Dls5kgQOy+ZSX6j0TTf+rM1M2LYvuqytxZ/BAxt9lad0ERweEynMM3jyq0seMt5UKEwwL40sDfWxu6v+YKOHec5GiSS6/ZCErTmsOtEWF/z6qvPfil8vHrIyCF1hPBSCq7eGZ4w+GgtrG7HC9XXK78w1RzpyzkBtdHlcWq0OoIYPtEe4a+usMatlL+GK5E9cpxbbT7WdRz0DyZdMOsIW8bcygvlR/rHw8to4cNjdJdTefH91IbXlakHKZfeYDrSEDKtKlIGmb3u5IoYcA50yVQbgXNETkQItOCTL5AGYpYkhKGDMh8mRqDdJH2xL3g2Lw= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CH0PR10MB5113.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PsLagm3uE3R3CfrAkba5WxifHESo/ANJu6upD6LHsjh786htgGpSUz2ogKzNsavQ4p3o/TJ46yu3cIaq9Zu3MVQnw5ItXRF7B/xB2YMeCXKmklZkHaSBgzPjQ8R2tyjZ2Bq/iZtAx+Lb1xEBdqzz/NIOrwR/ZLxnKFq36OTd74x4xplpPmtN4NAd8OJBgKnr223hbtXEWcPPe1bXWbMS5XfbuNO58Go2zng8i4/Ogfrb+hOnQhWUVtWzQyGDmC8bFh6eo2Awa63KVCsaLd2WI9vQ4qRwW7QyGySCwXyNVclEohe9VmldpsISajZyBIaXr/iLDGQbafrYfOuptC+dU0ur7GsSXGsNDIc9nH4mrpNUmJ7Id/BdvF9UOj5grVdzCsYdi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merl4A1SpZo0LAN4eYA2DPEXse5p1TdqUCFpAAOwTD444dZYHGq8iMq84+YXVZB2Yz5Rspy2e76kl7LrJgSfei8jpXNG+BtDlk2A3eDO2kL0d3KvjonGuOoqwwdUfjGYG1VGrrsk4owPTwhM7yHw88= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: SiWiWLru+K+HbHdhMwbib0oY+BAMYkV2oFsO7d+ZyWM81CSRZuGza6v3RDfaUMUQtPRw9J6VS/CAdOAqe8yf9UCiEjsY15JBtsCunWWYTrACql/tft8cVZc8dzkOELHCly4zf0oWjhHOKt/TjXlCsKHVZG67tszKsidsCvLI89neYTvD/5EWfliFnVlMg3SGvtyqzMrUp/dlAypfgwJkTLRr+fgXYmgtyq9Jl6z8zPkVIfW66izw/YvB2435erevYJSEMe/8rXHCqkNHYWln3JSgviAdSphWV6EHhpdCUieGaqTeWYiFixFRjW7DuqzuVKbCZtxEozq6eQ7Yvm4vS+y0cYJuBBTXx/AtYwWz34xYXAeM3ddGrvTqijNWaZU897Q7CuCP6audKQFZ9T8Yib+/fpmOnYI889Z2WGg1nQkJYOQXD9F4F6Id0MRAH3PIA62Btve1QpRzud/GjP07duUiv6beveLrwZTrHS/Fw32w4eflI78QwaGAeS1sKK3T99xKLuPy1xQiHuaV+h1waScUlet898qVwiCPZGOAsk/mYYS9jyR1nj0ohNF4/feyVqGryUKBcd+egoDBIbh7Je4uBi6+dK9JhBLCSt+QXQU= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8205936e-3d8c-4830-264d-08dc87231ae2 X-MS-Exchange-CrossTenant-AuthSource: CH0PR10MB5113.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 18:53:22.5718 (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: 6QXiWF0iZtDb7cGI5GYCOIpiUZmXhSkGhwPwSgLlBCzUOzcL0WGu7eBHEVWwt9XrzXW86HJsgcRgLkZHRtUuvdfEa2+9L6q4ycpRVzT90hI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5629 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-07_11,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 adultscore=0 phishscore=0 suspectscore=0 bulkscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406070138 X-Proofpoint-ORIG-GUID: iMfofkIRx9jhm6tGWk7hDfqzHcNiBV6L X-Proofpoint-GUID: iMfofkIRx9jhm6tGWk7hDfqzHcNiBV6L X-Rspamd-Queue-Id: D3E9540002 X-Stat-Signature: u9cptju1pr3ict79nhjja5apfsada54z X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1717786425-514231 X-HE-Meta: U2FsdGVkX1/KbuUOS2l3l5YCoEXyzU60G+7nv1He7Ur8wOFOOZf3e6GiQfzU3QOr9y88yvJnDzr9eAcdcMUHe7MRwqCkGCKhLFm9rkkzkE8MDNlkIy2B13kGA8sWMwU/4dP7R183y+b0J8Kq08F3XEpAwzh7yBxuMt1yaud7IZ3BVFzi3fAv+ZKiO2PH/eSdCyrq+PD770/YMbgL/h7sGh/WXyJEf7td6jV0pF1Wn8jGbqBci8GtCLf6qg0klP7mGFGi+NzcmwELXEl/+TVrrT5CRl2fWVHydcBmcPzkCUgZs7rXkyYFjb16V8wg5UQaFrSTYOcxCVkcImi0JJgrV8RCcqon2JmdMiilwNp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gzg== 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: List-Subscribe: List-Unsubscribe: Knowing the store type of the maple state could be helpful for debugging. Have mas_dump() print mas->store_type. Signed-off-by: Sidhartha Kumar --- lib/maple_tree.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index a955316b6745..91b18eef81e1 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -7731,6 +7731,45 @@ void mas_dump(const struct ma_state *mas) break; } + pr_err("Store Type: "); + switch (mas->store_type) { + case wr_invalid: + pr_err("invalid store type\n"); + break; + case wr_new_root: + pr_err("new_root\n"); + break; + case wr_store_root: + pr_err("store_root\n"); + break; + case wr_exact_fit: + pr_err("exact_fit\n"); + break; + case wr_split_store: + pr_err("split_store\n"); + break; + case wr_slot_store: + pr_err("slot_store\n"); + break; + case wr_append: + pr_err("append\n"); + break; + case wr_node_store: + pr_err("node_store\n"); + break; + case wr_spanning_store: + pr_err("spanning_store\n"); + break; + case wr_rebalance: + pr_err("rebalance\n"); + break; + case wr_bnode: + pr_err("write_bnode\n"); + break; + + } + + pr_err("[%u/%u] index=%lx last=%lx\n", mas->offset, mas->end, mas->index, mas->last); pr_err(" min=%lx max=%lx alloc=%p, depth=%u, flags=%x\n",