Message ID | 20240604174145.563900-9-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 D5ABCC25B78 for <linux-mm@archiver.kernel.org>; Tue, 4 Jun 2024 17:42:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F2D226B00A3; Tue, 4 Jun 2024 13:42:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EB6CF6B00A4; Tue, 4 Jun 2024 13:42:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CBB026B00A5; Tue, 4 Jun 2024 13:42:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id A98536B00A3 for <linux-mm@kvack.org>; Tue, 4 Jun 2024 13:42:28 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 66DA214103B for <linux-mm@kvack.org>; Tue, 4 Jun 2024 17:42:28 +0000 (UTC) X-FDA: 82193925576.26.7893857 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf04.hostedemail.com (Postfix) with ESMTP id 11E6940003 for <linux-mm@kvack.org>; Tue, 4 Jun 2024 17:42:24 +0000 (UTC) Authentication-Results: imf04.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=XTwsaOFm; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=mp9UkpSx; 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; dmarc=pass (policy=quarantine) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717522945; a=rsa-sha256; cv=pass; b=LiP7q+PIxAI7Ud/HSFi1AmpCSuRTHFBUbeLWMuVZnVQawD0webXiupJ8ovuSYwUkoXug37 6iT2YjceBwah7uKZ8dR4HEaNlzE8+n77EEEgnX0UCVEtGYxHBFQ/5FAkrT9KpdLqkTEBHH S8Im0VPuND3yoJR8Vv8+5JgE3lGeN38= ARC-Authentication-Results: i=2; imf04.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=XTwsaOFm; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=mp9UkpSx; 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; dmarc=pass (policy=quarantine) header.from=oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717522945; 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=eFU5J8MB6LX0FTsp6LFmCb5nYDKq0rtoXYUM8NbzpBY=; b=InV6Oos9NBsT1+Gn2QxQiwaFwjr27Yg0kiCo6el+LjO5tizf4umIdrwN9KTvZd442CtJOU OlAx6EePDzPqah/pTUFSkxlgQiSu1SMQkqqk1hW+t4D55vRVvvP21AZNckIV4469wf2iKZ 3O4E9+7OAfIyoWMmPTykQR8WJ/kt2Ws= 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 454BnSP1026512; Tue, 4 Jun 2024 17:42:13 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=3DeFU5J8MB6L?= =?utf-8?q?X0FTsp6LFmCb5nYDKq0rtoXYUM8NbzpBY=3D=3B_b=3DXTwsaOFmZMHeQS3dWlzkj?= =?utf-8?q?/cxsV9+STQZ/Il88RiDn6LuqRjkyKXt6J09CNViWyMH3OY6_XymYCidPs4r7+dQDb?= =?utf-8?q?bxa/1ADpzt7eKJrtFsnqRSGQHP6PRV2FYLLmso7OyGrdQQ4AY/e_Dg11nAVp5fVfE?= =?utf-8?q?1rvqyKUecPqqKDk35yr8AanQ2uh0GIMtXKiinrZUjb5ugF6PjCQy79W_nZZA/UzYp?= =?utf-8?q?S98Ncc30J7fASCLB5PTLCcyp6qIF0LX/cyUAP/Qd1ep6RDyJkGk//6diu7s_KM8YB?= =?utf-8?q?s0RtsIk1oE5qRCiGjzIKdvOHuWSOJv/1GquiBhkA+tvOBuhxu3I31Nkqwsc6lP7_w?= =?utf-8?q?g=3D=3D_?= Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yfv07wjxu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:13 +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 454HPTRo005496; Tue, 4 Jun 2024 17:42:12 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2041.outbound.protection.outlook.com [104.47.55.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrmdwn4u-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dfAcbnZVtej7HG6eQwxARfw7w/8uKVkLuYhGL2XKimAPMgh+dOomwsdgr4n543J5R64it14duSaNh+JwX7FC3FkjbO2WHgeHq40x83HYIh38G2wI7HQgVIq8jW7BRpcwqyeYkSR6LwE2IIl893ABHj3wEi3/9kiDdth2v6ToGrMiSw4YPUGJB4OgiFPQW+TBJIV4f51gN38y41hQ6RZaLLw5caB+3oF13vGE28aAfBOik+S+pPPOU/FUpcmYgctvXUgxYOc/o36FTa+LdZpjfymJAZK7MVe5cMFJyBT8gx9858qm2uw+R/l7tjL+iJOtg0HgywCOHPxFMMf3yrkdbQ== 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=eFU5J8MB6LX0FTsp6LFmCb5nYDKq0rtoXYUM8NbzpBY=; b=F44uLQhFhmCXFXK1kge+P9GUtR/PoywlWru68zCz2KYB+13QATkSGHIXmNo+wbxwj6KimOXHsa8EDgrpAyuveFXM7o3U2q8W37aI7ddkTSOmmQ/tWwpTPPO4eBHhdeBfHZ6PRdmXD/BZure+Ta87wcSXrnTMYCWFAkWXrH8BLQ9qNoqfMQJBSxpU8VjirQJDc8prv5ajQrxl/0I4iTIgA1qvfxhlymubPYMvq0qtmdmeNZpXq5G/YCUfM7qMi+yHYgswu4ire0HJJauaKuxzOpHJ4ucbWke9bdXYQZoG+K+dNUezfIlVdA7DCwNKk8ZZdOk3u6bE/aeREnp2lGN+NQ== 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=eFU5J8MB6LX0FTsp6LFmCb5nYDKq0rtoXYUM8NbzpBY=; b=mp9UkpSx2nVGRLa2SXNXdPki5h+VYc/x2p0IDZC3JFRv6TjfE4L1RBplCubmXX0GJQoWtSrC5sfRppgrNovqyiSLiCdXlGRn6dt1v2LBHt+y7WW3Vm/r1s7q++1Mt50Q8XjOwSNu2EKMaFvFCeP/7dtYyPSKF8A5xHpnj2QzJag= 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:10 +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:09 +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 08/18] maple_tree: set write store type in mas_store() Date: Tue, 4 Jun 2024 10:41:35 -0700 Message-ID: <20240604174145.563900-9-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: BY5PR13CA0028.namprd13.prod.outlook.com (2603:10b6:a03:180::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_|PH0PR10MB5893:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d8e8304-49c3-4f30-1ef5-08dc84bda8cf 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: j4wOM3u3oW5uDgSWakgQ1RYE5W0217QEMgfYp+lm9+FvMXJeTsM5Vm5CBYQwbyDkYe9hRdtl4hLxT+aADMh8frBR0Y5epWVbOzK0sZr4ZvLJgkpp4y/gzAFIaSkDETwtzQz2iasr95X+fLi9xvqV32MGzdDrivtEcZpNwXXVGzIWw1+gArm8OiY/a3sW4d4zNhrSiuW5rLoYxWH9tEr7R5nDTu0dnf5zQIytUjwSIOBKKmcBcmrAyDlhnfZ6Ex9lpoTH8xPMyb6WztIhtBjCezgrPUnNU0AvwxUO5lWyVgEJJRiuVXdaVtVBvY+BgyUTttuajvSE8zRwdbQ9gsQLPBayqbD8E1d3gJvhL5To2+RTIApROymawDB+T3Yu1wMBiWOA2rKFrOOcJ0zIKcfOey6xcjvrrKnER8lX/sZJTXm2FF/Z1YK8OcLah1+jQ1cVVB3D+GseugugNbsahG3aVcNHT/IFgvdRW789jPpHvarE5yz5fXhr3K6yEiH1Y6uVw8lzRPLcws5ux0zUpMFNJ62RMc+rlEPsG2HpegWRMvoVxzrCwn9WPj31Zkc73zMu3XpE8VXcYz28DGTCedwg/jf80ibPhlfUU77vDWrJWIIDm7CFiyv6k0rkH9in1GFWOPJ+WTw3++QR1Xnu1d7vLxTL4PBF3diS5ctdmrd1DWJL5BFLvn5HOwAIHadZsfz/plhhknjD3+fvm1wnC6peH199vyaGiQHqv4RWvM/KkeI/uSeG9hgMybVlVPEUhWVl9VuH1GMAy9XHxt0X7r4bkyI9o6F+SQEOzeLUdPYyEXQCZdVgeRRddg7LjyLvDOpVv83jGFb1/OrBwjbllhBvSw0CX+Y60DgeCtBdw6unVJxf1h8ckIkwnZK+BnEqTzgrF7sXWXPlFxrcpC8EWWzzpAqSKVys4K013Rc6yexZyLjEI5ZDAQFdNoc6Ccu4LSXHLWkZQCXLuwU8IR+M2KrjddsGGM1uidxepdPwEKAbCHKpSVubzO7BZr3VOE9O5ue1S26x+kQunw2YaPZCj2TS8kT00maevCuShAIlBgUyhcMEf7KiyZWnUkGaFSkD5i1SOf/PrO9jKimguqub05eja8AY/wLUwcWLavPzJs1xmPvVGTzGe7mhcxaoDl75fWTDPe3FwbhT7w0cEI4Gq06/2TXoBlIky23uCL4jULXDcR/zZqizux7flsqj9pk0i3WC6j3x7Jv7BZ2udvNUj4JOMSH2A+RKL2eTN+k3qquqH0ASKAWlPykMTb+s7XHl1sT/RdQaoXyUIoU15kbDwYrubW/2yg08Zq6Be8W3jLz81hkT39qNnRAShNCX79CFGEld 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: g7RLOpie6ar/sHnxs+M+dlKmWSFXffO3+h/Kyq0q8iv7XcAIrWtoB/S9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z6cJ7j+PmxVh66rgQiht2K0qd7M6YsxM+hWcO44D4bWazVMpnXhhBW5KAJu5GkeR5RNN2FsMheyRo/4pIMe8i5fd/Aik0rxWwHijofAk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7d8e8304-49c3-4f30-1ef5-08dc84bda8cf 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:09.6525 (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: JmjlCerX0nPBgEhBGwkYAvw9ygo8LIO6jJOYgXTd8nhbkS+qI1ep/kqOJG/yb4KKy+Qc3TTnt03Mutn88uhxmEu7eRsPoxBuLCOn9F8NrgQ= 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 bulkscore=0 mlxscore=0 malwarescore=0 suspectscore=0 spamscore=0 mlxlogscore=999 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406040142 X-Proofpoint-GUID: rBw-hTFVFaLW1hhHoccrVQ1p-fgxij7k X-Proofpoint-ORIG-GUID: rBw-hTFVFaLW1hhHoccrVQ1p-fgxij7k X-Rspamd-Queue-Id: 11E6940003 X-Rspam-User: X-Rspamd-Server: rspam12 X-Stat-Signature: wt7f3efn5yfg56hsb5xjsndwokkohg6s X-HE-Tag: 1717522944-688241 X-HE-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5+Jd05b7U6F03qFawrBdmIwfhvzU48i1+f8rECtr0hnBLcf03lGnTr9kR0Qur6drU+/PJsXv+PBGjzR4cOkF5uFurcJYzuETKhgoeQuGLHCFTMF46aAm8DQ4GMG2Q5GP026SeFr4Tn3tmijiDUm+TIxj5S2GbjSq13oxGcrdFqfgI+ehKwm7ciZB+zHK6W3bx8YbxqjHDjdJpxlPKLS5n9Q50DYAJqAB64YRVF6aDBgvkpl11AKzv7QX+dficWTHkDh04O/eIEhMrut66XLXoXLDM1qkqFFDFpPHoqiZeS5SjcY6c8apIANz26bCqUQ04iYJj9R+1PWRE8miX7iJu9D+Gre/uRNs+DN9rtbbL3ai03sGVfe/Sis6j0aUxZbS2STZrt6yv3Qe4F1H32cQEBG4= 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> 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 d74847045bf7..34ff1b3f729c 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5589,7 +5589,8 @@ void *mas_store(struct ma_state *mas, void *entry) * want to examine what happens if a single store operation was to * overwrite multiple entries within a self-balancing B-Tree. */ - mas_wr_store_setup(&wr_mas); + mas_wr_prealloc_setup(&wr_mas); + mas_wr_store_type(&wr_mas); mas_wr_store_entry(&wr_mas); return wr_mas.content; }
Set the correct mas->store_type in mas_store() so that the subsequent changes to mas_wr_store_entry() can use the store type to complete the write. Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> --- lib/maple_tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)