From patchwork Fri Jun 7 18:52:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sid Kumar X-Patchwork-Id: 13690653 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 91C9EC27C55 for ; Fri, 7 Jun 2024 20:42:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 21E9E6B009D; Fri, 7 Jun 2024 16:42:52 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1CFBB6B009F; Fri, 7 Jun 2024 16:42:52 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 020916B00A0; Fri, 7 Jun 2024 16:42:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D945E6B009D for ; Fri, 7 Jun 2024 16:42:51 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 84F30160449 for ; Fri, 7 Jun 2024 20:42:51 +0000 (UTC) X-FDA: 82205266542.14.8F77B2E Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf05.hostedemail.com (Postfix) with ESMTP id 2F8CD10001E for ; Fri, 7 Jun 2024 20:42:47 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=kbGSX4FZ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=o95bq1hH; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=temperror (imf05.hostedemail.com: error in processing during lookup of sidhartha.kumar@oracle.com: DNS error) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=quarantine) header.from=oracle.com ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717792968; 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=D4ZA8OWgwj5vBfXfTEiiu2poxtY0VzIKWAMaeLisH6E=; b=bvme54MpvO7wRHpfJeGx3ZCvdWY89ekiI5oO4DIlKuUoFn38aXb31uPqcIPNUrMF5imauN JE7T1Auj3QHs6VDoBMHGdaARcvSrp/FIV3fnX8LViKQRRh8olN0QvHS1aTM4SdlJfNOpH6 WOyi6hU3N2iNZfN15xcNO7CKGUHoM5A= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717792968; a=rsa-sha256; cv=pass; b=lB3ZIrUQoCJl2kUClD1TNMtoWDWukPlb8lSQiG7cwb+FrO0TKk3WbQEzUw2KlH8KbFrqa8 5evhv/P3xKL3np4CVppHnyFNDz/jYmy6qZMB8GDQ37kCB5qLap/+VfirlO1ErBjh8d5VpF wOZLzCk+1+JOQ7ttP0E+2lGetZKU1gs= ARC-Authentication-Results: i=2; imf05.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=kbGSX4FZ; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=o95bq1hH; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=temperror (imf05.hostedemail.com: error in processing during lookup of sidhartha.kumar@oracle.com: DNS error) smtp.mailfrom=sidhartha.kumar@oracle.com; dmarc=pass (policy=quarantine) header.from=oracle.com Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 457Cup2a021557; Fri, 7 Jun 2024 18:53:44 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=D4ZA8OWgwj5vBfXfTEiiu2poxtY0VzIKWAMaeLisH6E=; b=kbGSX4FZog4XkT/zrXbp8ofpaQFuw9ao6eP1A5asLhXyzi0dt21IFKFq3P4G5AUBFjQp AZJ6EqTTNLqOYrxDGcEylQF3hGMCqCgOlFosXuhTTSClTvrLhOySW7mEj4i5VhmWWC88 CNTcuycSPQNJbYBVolQjrKdlT0sbJekczdbvdU4ozTXWRNtNLJD1erxH/Ou4yl173Pxi jLfVn6YeCprsSj0GvEYbYmahgO4vGjIiPwjekfnhrg8dpQ/Dgkp8CFZxc0bgrbFIXxCx pOQdhibralD5g1UVDE/mVLsVbBkEpSVyTrHKPO8vKZLQxdu1ZqGfhmNE3ZejWLPiIpex Ng== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yjbrhea40-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 18:53:44 +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 457ICR4K023938; Fri, 7 Jun 2024 18:53:43 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-9 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 18:53:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J0rr6NYAxqKqQ7ILMvbo46UU/d4NA0vKBTKHldljGo+7lOgoztGbbBaqQlekLuP1R36szcnUc8FcORH4T/Yk+40rHBMSprd+j7hv2/3XmShAcMjDHRbgqhYrR3Vz2Y4wP6crtoeEEK6lac+G/bYJZjbIc/+wO6Rsdq7IgrTCKBkF8ADoUeAZsSxW+Nz6g1TJ7pHrHlc6zT2PX+6dPxoz1sAgac0EeX+EftlOZTt69bWjjEgrYQk0C4be2BThqMcMn+GmuYp1a7liTQ/EhLmXQPTTUUNxfvwymGOtBu6LCokZ+aMKit2o19m7LTDNVWv5dNqaUDSEJLp527wRqUU/4Q== 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=D4ZA8OWgwj5vBfXfTEiiu2poxtY0VzIKWAMaeLisH6E=; b=jKStKMg2lyIcjR5gXSW9KLXjgL/Xe10IpdN14PeH/qZMgmcpyLeGX43p8cljaNyaWt8tpXcYJOzyfLrj81vAyoqP1Zs36Dmh9COn7v4mxZDonmXvLVOssa2v6sYgvMUZrUgVfQbfN4HCzwP+R9f8OvHSMF6fzwlmMd6IzJeYrE+wGVOkf6SvQZKvKkj3UW/YXyGLq3Joc82DeDEFnYrGm5wGzzjBMzGvgV44l9INzOaeyKMuuYCZ6EqM/p/iTFCrxejWEsAY1Bv8+j2DQ++H5/YWdry6ff32Fy4igw54uo0BC3T7TfD7U7P2rzl6lNya0q+3uRh7vhvfEy/uYZwnmw== 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=D4ZA8OWgwj5vBfXfTEiiu2poxtY0VzIKWAMaeLisH6E=; b=o95bq1hH/7Ow/csxOmHTX7YdpdCpMSDalhnJo3Ao8cVHxqc6CNvzeM8j/2mF8Qg+VkibWS9994Js8+olYKgmDwkV6AYMascsLveNQ5I8jFiFNiR3zUY1c1JO676Fu0UZB1NmltcbL5vs7SyypM0Sqxod6Wy95KWJO/T+fcccY7s= 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:33 +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:33 +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 12/16] maple_tree: remove mas_wr_modify() Date: Fri, 7 Jun 2024 11:52:53 -0700 Message-ID: <20240607185257.963768-13-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: SJ0PR13CA0006.namprd13.prod.outlook.com (2603:10b6:a03:2c0::11) 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: 8357b1d3-8502-4778-c28d-08dc8723214f 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: S1ZcMMYZBxXxDsBUSZufeFZ0uu/r93hhr90liHL5e3Q15kuYEW9kYpB4gLb51ATBubdUIJ9Vdhw1OssxNZUr1gLuY71go9Eqo8bnXqc36PFVrTtge8stJoLY59hZFG47GhGqon9HGnQdylMvESVso4najS8IQpoXfu+Ypcsd21+3y8XP8+cm0M/MumpgK4+bfmt5JSjZOA1gImBzjEpHaD7VwCcicTxHYHIyZtg/TlEqSWfuyOy/B0I27SQn+EPBn2HI2KeUdImVVWE+NBcd1AFX1F656TV4C4QricsutE+Laxwhn11EVCUn525l32JERMCPUmTwJ3Fb2+tvmcdpXXJeXVNKOW1d5tAbmldbeqBqC5wVJIW/KaczkQKgKpqMo5/nbBofOvfe4mecOkfP8uX0XceGO+tUbIdP0Xwa7cgdU5Ymb0Xhzg/nElL78Vs58YRrJ3pmlCLW1B/zVFjfyYxRoN7a6KP4z5/kiVFHHmTF1/lFsiumWW2iwQQt80l5+CsmAiHZnT9j/wq0rNjsZu6P1bYYVUHs+riXYt4nkkUL8iY0rc3m8Lh6lmkBUV4SkM1EboYWHfbSGXWpi+RiG380mDeKA0olGSyuzJJT1oPgDCTpfNdCzIh3GNNV4o5Bg8By7zrW50Q+dOUtjN6HaMp+nnabJFm2qYyyB1L2WcBMOxm3/IFxxlzTgwms2RTSExqlgpBW38C8rxTWuv5tDJSbRJ1P509agQ99/pkeP9ogjKWa3B55pjStYPP50zaFB7tzIxwRoH5yLDIyU07H94DHc4aYNZWin/btnuzrfdWsQrxiDxnNVtFuREnNuJUm/ciF4TT1cxe6MbfUhY5xnePCn9hWI+wYxNc+f6k0CbBKn1toUlF5DCNJRzJRugcmYHHES+uPHx8NisaNhlNBSeB+xhr/YFRkNGUjPXYPAz/MKZQBU047scwLO4mjJGMtV72fGx1nqkONQKpXm/mynuUHpsciBcrJiJy2ILOgslJcT+tpg78qdxyt9xZfz4rQPd9rI8AiYKLlxWJ93kGtwo+FFdsEvJXn6hdYXJy3ZQLIoNMdnmidsFOZO0hoMtlqFo+oEGfvisUAUBCXgJp4HeZvJRP1/eLXq2YLbuuAegPDlkxHuo+VtIuQO/1p4umLLgNa1v0Z2L5CzYDV68qBnapPNyDWEuNh+V/FkeFTW89asdvy8MIYaAs22LZPV5VbwA8n8CwMcfa+QP+c9KDmd2GSF4aCxK4Z5UTKXRX195qdRAjr4ifnRk/7XqYhkX+p+XS7g5WXmDhmsqKvf2o4DTuKhcPqar8tzEyvENw9RAA= 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: 0GHCaV0GKcQKQ+AQMcUR7t2JZU2LDjMRUXvWQXnMEzxOU8Ah5pGHDAd7KI54AxnG5siY3D9wEUQIpu/9nUC+iR0dmnpEq2pbXi2KIg4DI17h9us9UD3NO+3NKc2yYGr2XJzKiBItw8vumpnGB+ypzIbocFHH3K8EhBUjaH9P/FAAMcixULBkKfpAOx3m7gR603ishWDaBNXK7Ed0YKFsaCMt1WA36CVooc49nveetY/LFiSPj8Z0WZ1bXPKuKhanAAoIzmUbJkLTs+7+wTl5MKGAMH35HEpHF2xrwff7fV/RnWvmHl7Uv8OYcjXsMUWYV3dtSax7RohkD/TM0gXkV7i2BM82cF3jukT3mfA5PzGxeRS5BVx/SMFz0hQQr4G+H2uvOPzKGE3mgQ1Ab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VEyy0K0MNwyxjb6KpGXU2bNDnJDUzqGozSOJj5nsBtjgE0l5t+OHaA7hGYYme6z4p7ebxD7N/ShLuXHCcmRAf5OhYRbxs7sajiAF0dSOIt4qBiabzGD+zufOLwfmCbu+ThFmOiZG8F341cMTKGy5PjfPbhdgVL4ORomTyMt4FWxg4= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: Vg+nPWoVa17rbnDt5EZKzd65T1F7L259RQtqzlwyazokdnodVewfyjDJTbgrtSJU2iU/+2ld5A6CfDsBtWIz2grccwyjYLzFksAl7HqDg9v6j/S0MplVuN1iAB3GXMNan0WF55tgcD+0UX/FOiX7hi4VTjewjhDhZ89Jkyj01q0CWJTdWIpJd4zY7CctxGMhCOE7XMCTLMfaT/LWdsMuYYJk4rDnnuFEJobcoFnchMRpEA5Ndr/1tX0h8eQJ8T0p9m9+JsTBU5tCrX/agcaSKvpKt1vQu+vJ208jZax3nu9lLDTJJ+YT08wfmgk8o8Ewx5X1WC2CDYZgRvRRfWKpRzwORK/g8CnkOeqE2+wxk5VdYq3GD99O2N82135nhXrBIHHxaHUN1nx6DfC2oFSc5IKX21FrSC6d7lzg6Er2CEIRqnegz36a9WwNSb6FsRWeUXMNwMk7D31IWktE2gcPD4OKpDPpFI1/ObGdMUPigDVauXXcr8d1MOzAta/gOJUKJqIpgHiAtPA/RmkrnBw8+6XSA3gWQsSLqZtQ44LaRMv3tXd6rNwqgLLoD2jKdU10TuWy2kRYIsukYEpexdhbO3gDIICw0KxVo8Czrm8cYv8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8357b1d3-8502-4778-c28d-08dc8723214f 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:33.4187 (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: vf80W484NFh7Zus8hD7NT1q8XRVWqSb9HO6XNcZCLKVSHGN02OjxLM9/uLMj0Zxo99oPXJIxb8b3CIduKcGPs65UY4pXzW7XRPcujTAKRJA= 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-GUID: 5BCk5MsOgFS1Liu5RzmPKhdq8kvXqCZ8 X-Proofpoint-ORIG-GUID: 5BCk5MsOgFS1Liu5RzmPKhdq8kvXqCZ8 X-Rspam-User: X-Stat-Signature: hypmt8e6fqju5qyrxx9cc9pb5oicqukn X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 2F8CD10001E X-HE-Tag: 1717792967-322366 X-HE-Meta: U2FsdGVkX1+XSvc7+OZ3fnRKIDwq46ldZEWD2NEWdJrSOKxUEuXR7vku5PkEoFTmUjOYLkXhDBy6Qv264qAInwSHWezhwxalGZ58FM4Xtz+rFa68RNteBTyWsVrIIhs2/KygLTDgm6In1RgzcBb9SKO0qg5DPcueqOi9S2jQjrP2BCnEPZkOYWAEF8p+tr9ZKQF4WWdWpYQsliDZz4OvhP+uFen5Hu8pB8LYx1aCAxWk27bk1XEIGAdXWoZpbycnDXwZhQqCiTZrGy7GRN98yYpYeCd6PZ4Mz0f74u+po55CNnxGvLC6c6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dpDTWdrLGAy0SONFzUfbdgQmGJ8y2Z+voThxC1lQiePLxL4GiBuGY76pzMCTCLGAa1/OjpZQ== 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: There are no more users of the function, safely remove it. Signed-off-by: Sidhartha Kumar --- lib/maple_tree.c | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 743de734ba0c..8b17768db5f2 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -4155,44 +4155,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