Message ID | 20240604174145.563900-15-sidhartha.kumar@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 280FFC27C52 for <linux-mm@archiver.kernel.org>; Tue, 4 Jun 2024 17:42:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 14EE76B00AA; Tue, 4 Jun 2024 13:42:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0FA186B00AB; Tue, 4 Jun 2024 13:42:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E400A6B00AC; Tue, 4 Jun 2024 13:42:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id C38BA6B00AA for <linux-mm@kvack.org>; Tue, 4 Jun 2024 13:42:40 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 7F044140D6B for <linux-mm@kvack.org>; Tue, 4 Jun 2024 17:42:40 +0000 (UTC) X-FDA: 82193926080.16.DDBAA4A Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf11.hostedemail.com (Postfix) with ESMTP id 178A040025 for <linux-mm@kvack.org>; Tue, 4 Jun 2024 17:42:36 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=UgwBhLyX; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rpv4Aga6; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=quarantine) header.from=oracle.com; spf=pass (imf11.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=1717522957; 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=PmOkY5uADHU69ozTyLP7cB1Ob5n4YcKEW7gbl4Eh+y4=; b=Y/OCzAUQWmSR40kH503VKXErwsRzSf2QEMOHE6mREnlIgwW7SElkx+8GWKALHl19zijCnm ZQETjLtDYoSwS5tbKZNaaZMDx/aJrlK9MONeHQpptv/i6NaxvkARP2vwTM2IXtAA0jNM7M 6j7TWSuEHJArICX7+RsNIKbJFsNm/SY= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717522957; a=rsa-sha256; cv=pass; b=19eTEs1YHdiJfvtQzR3GBlCUZsi5t8e+0sslOexEYQcesU9fh14j047P4+Hli9yphwC3NU oooY5aMVr5Vja2bPhNpQ2EXzri7oQP2iGMIwLcmT+COIZJOq/auUT11Wuw8jSdR28baNmy b9Q6aqmCXqNdGQTvIs9SPkJm+kGLmxk= ARC-Authentication-Results: i=2; imf11.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=UgwBhLyX; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=rpv4Aga6; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=quarantine) header.from=oracle.com; spf=pass (imf11.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.165.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com 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 454BneW7026963; Tue, 4 Jun 2024 17:42:25 GMT DKIM-Signature: =?utf-8?q?v=3D1=3B_a=3Drsa-sha256=3B_c=3Drelaxed/relaxed=3B_?= =?utf-8?q?d=3Doracle=2Ecom=3B_h=3Dcc=3Acontent-transfer-encoding=3Acontent-?= =?utf-8?q?type=3Adate=3Afrom=3Ain-reply-to=3Amessage-id=3Amime-version=3Are?= =?utf-8?q?ferences=3Asubject=3Ato=3B_s=3Dcorp-2023-11-20=3B_bh=3DPmOkY5uADH?= =?utf-8?q?U69ozTyLP7cB1Ob5n4YcKEW7gbl4Eh+y4=3D=3B_b=3DUgwBhLyXcxXZCTDkHc5e4?= =?utf-8?q?lh8htUFNwNUGJIKhHWaPEmdLx1KidtME//HZhl3X9W6DBS4_iV41prM+mD+KrolPY?= =?utf-8?q?FYw/2Qvu94CNr2q99KJP3pjGIFqAEFCi0d3yfNvAkBTOWFtcwQc_t/G6+f2HPlhqe?= =?utf-8?q?YIyJv6T6xY6qqEeH91KjkJwm7ctdhxbgSuNPcWaBu1jtQkeHjvtrTh9_eAwE0fa/G?= =?utf-8?q?hN5CCzb+9lK+Zl0hZ4/zbg38V+wc45V1Z1ALSmTpDwEQjIUfbvBMI/RZQNt_UkJNO?= =?utf-8?q?iJXEubNwO//IxOmFfYguLjeP33f/BMf+IEVjH4SNJy+oQz+2etk+qfrIgUJYArS_g?= =?utf-8?q?w=3D=3D_?= Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yfv07wjyg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:24 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 454HCsqT020553; Tue, 4 Jun 2024 17:42:24 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2048.outbound.protection.outlook.com [104.47.55.48]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrj2bmjb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mtqasz5RuwN4Abju39lAXe5HRYFnvAQciEQWjejT0cU3Qc7qzEHoMX6/YL97gYj2ORYNIKvnupNrV+WlBSbKoXvzUmf4AIILiGULpLZTCO4wazVsvzSsUVpyZkgsTlyWT07NpM0tCP7UNvfF5/rkAq3RjPK6+MDJF0XMqbOUFo1O52sFpaMdySuOl2oUwJfeJx3w/it9wJ5URUrJt7K6gHICuS9M7697Dv/dRkWN9NG8YI/XMycVtkWMyTGB3GQWupPsq929Zv622qthKzKRr08bm1MCgc5jl378E0OkHPtws5tilx5rL37jck3vVUW9VjqzfmFQQOkeyTgnxbobwA== 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=PmOkY5uADHU69ozTyLP7cB1Ob5n4YcKEW7gbl4Eh+y4=; b=eakLP0NoaAblN6z1znqY73s44l0JP3E0O4sHmK4E5kdw4b55rJjVFNX2TYAPRVlo+UljQGdWaV0K39OzPSixNEygqoOOLOyQ8Z3H3ZQw+myYubXL6hBlW4eWDuXWOjOmuV5oMUuQ+lztb+yygojhBwdVj0tLvqBUTNECUtj/s9b+dVt7QIV4VhCPMbUyTK1L1JJfshxeCtlsypL42fLgz2snkOBNbVX8gMbjUQ566TD55tVH9JBkDCS3imTl7tW9ov/d/TxzCWMqcZZ9FJzZb533GmeONEaA2IAw6coINu07mmFwXu2LFy4sfWgeEqsOmkZTbyr50bmtk3SIFy2SoQ== 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=PmOkY5uADHU69ozTyLP7cB1Ob5n4YcKEW7gbl4Eh+y4=; b=rpv4Aga6sfD+G0Ng8X/+W/WoLckFI0C74e8/rwQ3LqgmIlSGcNbx1a5Fz1YKSIOfDaakplm35Wz4YFLcauz5MdxYYNDFpBzcaU9FePgLc+J8zF0w9nKSkmNZPhMyiIGbu86LNYnOc/LDC+qdZm34O11M0buuzr935600tj9rMEk= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by PH0PR10MB5893.namprd10.prod.outlook.com (2603:10b6:510:149::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Tue, 4 Jun 2024 17:42:21 +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.021; Tue, 4 Jun 2024 17:42:21 +0000 From: Sidhartha Kumar <sidhartha.kumar@oracle.com> To: linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org Cc: linux-mm@kvack.org, akpm@linux-foundation.org, liam.howlett@oracle.com, zhangpeng.00@bytedance.com, willy@infradead.org, Sidhartha Kumar <sidhartha.kumar@oracle.com> Subject: [PATCH 14/18] maple_tree: remove mas_wr_modify() Date: Tue, 4 Jun 2024 10:41:41 -0700 Message-ID: <20240604174145.563900-15-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240604174145.563900-1-sidhartha.kumar@oracle.com> References: <20240604174145.563900-1-sidhartha.kumar@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY3PR03CA0002.namprd03.prod.outlook.com (2603:10b6:a03:39a::7) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|PH0PR10MB5893:EE_ X-MS-Office365-Filtering-Correlation-Id: 90ee5abf-e6a7-4e06-dff6-08dc84bdafbf 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: ckn6NwjpeA2wr8c2K6e3ayuHD+v3OB3CS3/zsLWDjWDL61n6g5vTHDKrPL5MObsivVTAkc2WsNL0Wzy2mQ1Wy+y2UZ6eqK73VK7KdtkcpQBFZg0uujD71boZh7tVMk7dQdPEi6F9rTTIE870bAa1IrbBVhQaMx4REyEIPeglpNjLiQKg4uHShFGFWPdiBhXDql7kKdwy0Hfb5bMyHCgdnKVxcPTB2O5xKskDOu6d5cNopksLpDWj/OIg80GZx170NsXeg8SGOAvTKjAsPAjXw2EW69JQh1JFnfCR3X3Pr98wdEuwMbWNp6z5xBn80Y69s6zQbR+ghG+l4DwQgghJw9AGzV/ZA3nFrSG0EvRcbLF6UPzD7qbSlLP0kPzpWzW0jujJr/bQzrZ28Yzd2xAqlQ/NblCOvhP/+nFWNXEnXkqn90uVOFZgKAAINEOEWk1C+UiFoZhubKyZMoin8sO0j8PZJNE8ZAUJcG/+e50QxZ+a0qrzF0H8ntq8Ebt2QkbCwZobxFrIN6HSsvlkbzcVLwhuCdv+fJmome2Ey4N/vcairAmRrklG4zC7GIJVnJTiIWsUIyl7xVdkiY4XrwVrMSzer6Ip1bMLcBnJZdbOSMagFkTMiX6mC7Fg1/esuujm0LgZIQrQFdePrl/pvNPBPwH7iJplVNyAH50IrSz511LDsZmSYokgz074FaX0of+T+LVwS3u0JYUCJk9j2/uJ75NhfDgtUWl+MX8hqMPnwfVyUzWCg6Su3uNFhZhJUlFVTM/IfOVZSIv2JFw6orulal6tuEgjJ5cm7Uh+paqxDZFoiGpFn73792hi4qcFTrQ3A+Ehl0gqfJD86wLRznHKm2V/kzuqcBx/YTyexAv0FydWiVZ83J4oeGELFJfs/KX53Q2cChGJTeqas93spXhdtIYCQ0h1G9E6WvfMhMz6kcPBp4D8AdkL5XvRPJOmhjDQXJzt1te5FdWA+ka6BA5r+STbGPz5akI7cuuMElhlpFrgBvwjeeZOu7vQAr6s5cLipg7GKeVJCgfyynTS5AVVfiIgagqmxEn4lOMr5duyov4xK52omtZbs63dApcvwF+c+EkeUuPVDWI0jjfm2YyeCNO7ONG0mJZW6vKcdh/ZIY/goF9HBuouMxU2yh5QFx/RLkJ23otHJVkBpI1SBi82XnI2uuT/Uja3e+yma+UBhFgBe/YAtwA6h+PuLt+f7HFHVd7UdxFgUUJY3XvqzMpEZKqj/IE1RMgn59n+vZ8joDXRH2GHm/0jysFrxy7uPYldDEq/JdRQ9FCue/DHq4L/Jka2Z0DBDFnaKmq9ZOtBtMU= 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: r0pWn5+nKiqB1zurAQZFl3/3fINdf823dORO2h/V2jCBWXZ67ln1Pw9EXHF7WUbIqGXKvXgnay3iiUNS/7Clw/vcCaY4p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D9MZTDoxnKTunJ6f8AQYowhyT//r20gYi9mxh90Ii3Xg3++AdegrWU05dxD+8SLMYYs69kSzTkO1Ws7iR+MbqNVmIEEQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90ee5abf-e6a7-4e06-dff6-08dc84bdafbf X-MS-Exchange-CrossTenant-AuthSource: CH0PR10MB5113.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 17:42:21.6149 (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: ox6citQADmsN/7xFaUUz01HdyZy0ppGJzdOhZ4mp1iftmLAlaZQrBBiEJAxbUTEXDHBGNQg7FuZ/YwfPCTmbqxwi84eWGojoTNoy8zIJuc4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB5893 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-04_09,2024-06-04_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406040142 X-Proofpoint-GUID: YfQEzQo8Ys4uGqUOXfb-ed01T_5hyxdl X-Proofpoint-ORIG-GUID: YfQEzQo8Ys4uGqUOXfb-ed01T_5hyxdl X-Stat-Signature: ctm4q1pmn8qh53bzjiio3bux5k58m4qp X-Rspamd-Queue-Id: 178A040025 X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1717522956-307004 X-HE-Meta: U2FsdGVkX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qmcPzHTcCPShyQafLY3uWUZfkU7ZJHwbUZ86W4xqGNlvZl5BPfjJCgwu4x9AqzPuW6pMPjWhrbQjH8PUHf2KH8r9e6odKn/b/IOvGscQ9tRIllix7ZYtVxx0X+6R1L7bVtNxP9nWTryNR03ZCA6BTlMAfQBOaR32lL7pEUCexzz0tma6XZD/5Za4qAE9JT8aLibZkc5Y2Epzd7+2p1en0Q1OoNJAa83fnXpoU0+3x6zIRjEw223/RrnPDi6wOB28RE+5wauGYJoGr9AeKiXwiyPi2p0vRdtwGRi0TMPtGgrpjTGTpnJ447KrK2erl55mDCSSpzxfdPOjpd+w/B4ZvKzZuuDbEYTntUp49c07SSOxQw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Introduce a store type enum for the Maple tree
|
expand
|
diff --git a/lib/maple_tree.c b/lib/maple_tree.c index faadddbe2086..74c89aad8bca 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -4156,44 +4156,6 @@ static void mas_wr_bnode(struct ma_wr_state *wr_mas) mas_commit_b_node(wr_mas, &b_node, wr_mas->mas->end); } -static inline void mas_wr_modify(struct ma_wr_state *wr_mas) -{ - struct ma_state *mas = wr_mas->mas; - unsigned char new_end; - - /* Direct replacement */ - if (wr_mas->r_min == mas->index && wr_mas->r_max == mas->last) { - rcu_assign_pointer(wr_mas->slots[mas->offset], wr_mas->entry); - if (!!wr_mas->entry ^ !!wr_mas->content) - mas_update_gap(mas); - return; - } - - /* - * new_end exceeds the size of the maple node and cannot enter the fast - * path. - */ - new_end = mas_wr_new_end(wr_mas); - if (new_end >= mt_slots[wr_mas->type]) - goto slow_path; - - /* Attempt to append */ - if (mas_wr_append(wr_mas, new_end)) - return; - - if (new_end == mas->end && mas_wr_slot_store(wr_mas)) - return; - - if (mas_wr_node_store(wr_mas, new_end)) - return; - - if (mas_is_err(mas)) - return; - -slow_path: - mas_wr_bnode(wr_mas); -} - /* * mas_wr_store_entry() - Internal call to store a value * @mas: The maple state
There are no more users of the function, safely remove it. Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> --- lib/maple_tree.c | 38 -------------------------------------- 1 file changed, 38 deletions(-)