From patchwork Tue Jun 4 17:41:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sid Kumar X-Patchwork-Id: 13685733 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 E81E6C27C52 for ; Tue, 4 Jun 2024 17:42:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C216E6B00A4; Tue, 4 Jun 2024 13:42:30 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BCDBD6B00A5; Tue, 4 Jun 2024 13:42:30 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D3296B00A6; Tue, 4 Jun 2024 13:42:30 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 7A9336B00A4 for ; Tue, 4 Jun 2024 13:42:30 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 42B1D1A0FBC for ; Tue, 4 Jun 2024 17:42:30 +0000 (UTC) X-FDA: 82193925660.23.B26DBA2 Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by imf16.hostedemail.com (Postfix) with ESMTP id C7EEB180006 for ; Tue, 4 Jun 2024 17:42:26 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=h4l5Ltgf; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ax6mLaWg; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf16.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-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1717522947; 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=hpxPtaHCdDpGoM+1JKTkz/eDuE9n6lt2SUfsNJBwVt4=; b=mI+uguIGNRuuimYY2FaKUYEC9vcCIOxt/0Qa0QpBNX+hJaLzkRzvGhh8xjNJkp1eWpiV+u cCZHxKQyol5j5HMn2YRuugVPKRjHl1UdWpn891hun7MB54DcgkTtc/gxhf5s7Y8mPb5Ym1 HtukgV2bNIsQWdnO+Gc9JY7b/4L634U= ARC-Authentication-Results: i=2; imf16.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=h4l5Ltgf; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=ax6mLaWg; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (imf16.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-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1717522947; a=rsa-sha256; cv=pass; b=ZT2pN7Xr/Jb0QQsikA5bIozkdeWnxuFReWGQUqgVT3tsEw7cMaKjP5/PU6xQ30Oc/s10lh dsrqzuF7ygsxl/yp1U7gGGSsO708ZrMynrzpYW6iKHadS9q7u9Dj1Vk9tcyowaeHsIFqaZ LW0T2zNdwLH8JkKnkbDx9hty5vKeJBg= Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 454BnHAU028058; Tue, 4 Jun 2024 17:42:09 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=3DhpxPtaHCdD?= =?utf-8?q?pGoM+1JKTkz/eDuE9n6lt2SUfsNJBwVt4=3D=3B_b=3Dh4l5LtgfYZj5B5hLfTjcu?= =?utf-8?q?tms/80uCorByqv76kE93qFfsjTK4NLGfvcExmtfyS8LiAo/_qJrL+WY28iNVjIhRO?= =?utf-8?q?Eg0hqXXjUot13w9xkphB1SZtdYQKpI5RA8PXbFLOqZ/LRWSB0FZ_2XDsZuvIY2vzV?= =?utf-8?q?ArB69lra+A8VN9UPJIIK2U4/b6NjqrM+t1ColB5/wugUxZuoueVK+Bn_LtIzLem8d?= =?utf-8?q?kPbt1Sv54S8b9h+JVzVnLtW0wL23rZQqoTXpuAiHBE1DJhw7EYeMaMJMmIg_2a16T?= =?utf-8?q?/GmpRWXwTIZ+JiNq8E/9pC59jlfhTFQiVj1WWVY52Tc15V0yJVZfsGq4QvERyhr_M?= =?utf-8?q?Q=3D=3D_?= Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yfv58dj9e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:08 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 454HNoQi025242; Tue, 4 Jun 2024 17:42:07 GMT Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2168.outbound.protection.outlook.com [104.47.59.168]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrt8xx21-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 04 Jun 2024 17:42:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LknQQZaBI1mNucTss9YmFc0h4gqVrCZkL3TU/5TLSDe+0mD4t3R9k6sji9gNyYiMMo9lidG2m7Ny803saGZAZH7CKZP+IwosxmoFpVZ2y9sveGzkDxjb+7mM6zawcxpAu5AaMG6SP6V7IstOKTJ/OO1kqZxlv923NayxeMVyA21RQv/cOVjBehyFxQAEOEEhOVtPsZwqLsdbkv7HUwGzNcVUpK6fDWPz8rW1U5+T2IUQACsBulkaZTJQrg5YlulGEVmuvhV9VVjpGe5bTRPEkbmizSQmcVwy11MA7kITlagq1lM8byEJ7qUg7TDHB6c4S20DxQKqJCHffT6O5i+Rdg== 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=hpxPtaHCdDpGoM+1JKTkz/eDuE9n6lt2SUfsNJBwVt4=; b=kIDR02RlnWuvRgpZKE1IRoYsKt58YP+LRmNRuDnSnJP5Po/DMu1Y1wYdhgbiQsL6zw57YLTdEiyDWqrQAxwF1LIO2hQ/sTT1e94leXQdLqiPe1/Y/A5VMuGHZjQYFZArXaRisMrr0lItWOzaVZX86nzOAgQjRrBKZ9dk+c6FKBv3+TLlbSGaq+VBSaEZeEScnDbGh3WXJ27ddPXoJ53d0FQyN4xuPV2e3KPL+/Pr4+nDy+B/hu/yLaMsKfojV9AC36+GO5epcPoJatf3y6nAdynp5zxsswTun/6Us9kK99paK7v5soVp7OFnArpqyGePNIFpkS0sIE2YZxxKx+CLRA== 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=hpxPtaHCdDpGoM+1JKTkz/eDuE9n6lt2SUfsNJBwVt4=; b=ax6mLaWgDp84sIGjyVuypjWaD8Xo3ca3IQDcLly6DF8uSTTS0QGnb6ibaaXYLsAjWKS9FHM6OgtzHfaacDFs1yb494pLEC4OA3i45RR0idOty6ZFgLnMOBMIj+vTiUIgJZ9nYepqD05csHRqKx9eDdFb0uYMGhqhjIa3Dqln+c0= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by SA1PR10MB7593.namprd10.prod.outlook.com (2603:10b6:806:385::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.22; Tue, 4 Jun 2024 17:42:03 +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:03 +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, zhangpeng.00@bytedance.com, willy@infradead.org, Sidhartha Kumar Subject: [PATCH 05/18] maple_tree: set store type in mas_store_prealloc() Date: Tue, 4 Jun 2024 10:41:32 -0700 Message-ID: <20240604174145.563900-6-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> X-ClientProxiedBy: BY5PR04CA0029.namprd04.prod.outlook.com (2603:10b6:a03:1d0::39) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|SA1PR10MB7593:EE_ X-MS-Office365-Filtering-Correlation-Id: 342384cc-040a-43fb-e110-08dc84bda522 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015; X-Microsoft-Antispam-Message-Info: 8Gea9MI95ITbr+/FvqHwP310XO2SmTZRJSj5hASsrZlhEgcksVmpP13nP8lUG0HRy/O9vIhEKu9Gg8ry+3kC4dYyzWeM2/j6/MQCqxSuxgkHWfoITPaDUagBt39phlGqSpsOvsK+ZASMGSDyaelfR5tl21OxDW8OT0Iupoa1n8biryCEQ3Y9n68HOSWWtYNdSFrsU1N2cp3MC+c007ox1d2KyOtZI8K9BLHjxnZ9YX++/LPkPHb6LJ7xLQb0JTseREI/CgFuohOFC5f43kgycQqSrXhxR6kC+fLH2K4GMeH/y5C7/Rz6OTL6Tnevny+FRieyTVoj49H8xJjYK7UeAfm85mfflAw26JH/aDgpATTrAxjBI2YzuwvcXGQY2xpxD3DvdNDdBjmmRPe6no3IWzuDufcMZsdlxuhS9vqFduMco7sFlqre6IFcE/OLrptePHYybsQNcWCZIbjI/aXq+BAIf6sqwH8z8Ax1Ufm0zUgU7m5LPYZQ/NMDGmGSQksFPtqODLMyw38I0xJ2RtpOofS3VtnKh27KVuhL2bP/eL5j9n44Tdgy52S8mDoWYWkxzXd3sMydDKYnFDQGgZx+BlxigkWY82sUqT3jXNbqrvoyxVlGJSKRrQ9X9vwbrl6ig/OiCpSscacjc68Am07fv8fesmXt3W33/oQQ3albkdo2NO8DzCuW3cLpV5mKITkB3NMZfG7eykZczM5cRQK1JB8yPBNpUiXxBbk0OBdVfG0Ft4OXgVPRA39Ib86s6DHdV1jl/n0ICqeAMOd4/P9RG24iSGHd8QY8gT9TPH4QHsC5s51+9PkvSVxSf4Ui5NrLD1zRdHDOr+BqytNtJOI58yOzPFvWHBvqPIhGa15tM7JEIMGTtp7DaCMrL+vC3jgdFf5+pDaw8xn/Jvxu44jenxL1UIFHhEYg0692uZLzPnhOr19slDRiskI2K9YqX5rRoDdyIyWAvSpm/PsepNdcUo1AnryNv6sQrWxIHQJy8+K43S25iqbsmy/lFjoDDxZAvj46Ihal4xs2dl6oA5Po+jpdiDajINZqNwni7sVCd43+ZgCWLcZYF7BerD6YTuAy5CiR6/dtMMOUxYlLmauyK6SssZS+Yzmj9F2xtTYUhZ5KAMLy6s/aXLvZu4qb/v/oBf7k3nZKU62GxEJQzIbSUrsU6FLc47IHA8bvlZZWaDeSb747LZvkDyfEWIeHzYgFPbrF3xIUjnf26QFYafp23hn5Gc8O2YiA+fJEd/g8POwJ1P7FU4MPDn985mo0sVduYfibNHydPGMcVF9o4xJR5Q== 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)(366007)(376005)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4fXeiz7DXBr9HArSAusYXbeTFeiZPLkWam0K6Jqjw9GdD+b6NQgUapvuIOkO/0vJwn4Uoo4x1dejQLPNDAzIXYduD6YnblBfRAz1czZjM6VNLIYM/rQVFXBL/r/k7QpohzlbF1Db/8qIXTiGhDgQ7Z+ktMT5ld44kZvgR1MU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MLVeiq+42nDVqwrKgzuhyKn6HGwdyEiPiflfNg23CSiEgNFKv/8jypTX4od8txpN0BrIK2qi7kR0K8CszMRvnkpDRKvsA8A+PRnnKkGvJPsIFi46NoiRiO2oZ0yXTBem3NIRsXWSp2YbdxKbf5Cg3Bo63RUKFfq0uoc4FbLf0edbBFQ6aHs/xD51uziPVwCoWRBoswaxKpW5O2DIq+5oFlPYvWlGyf4UaNIzejjtTEyaKwLG7G1KZvtT17hZKwHdMP/gn562swLYTyuxNRkuUs7DQGYou+grmWfUaqhMggK4l8eWI1mK9Vq0CcoyacU8AzUeMn9kirH1I+0r9Mjp+1JKlflIDT8qd6GERWzj7/iejkBrVWeXftP+/6PjDcmxI= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: x+rydlpwwFuEtsfOmCJOe7lv0aRto7mmUPhDYtz8JCE1HQ2Tj28y3UXnNDCorzqgqv59gRDjL32N6S8MRZyaK5bdktGxnO5babkwrX1LtyDq6XDende0VVSGAcLB/x4tgVrXTjm1kJb76mYQDvX6RLl5BgaB1Fh80qt16yQ3KS4ttjRkIXFoRzMdStn0ohb0OkcrCVSWvgkUVoO1dAQTujRuMjxCrqBZQ3ynnlxupQWYzCFThQzVak563fLdxbXhD09IbUVtrdZm5qRG0V2iwaZBVpsV6JMH5oKxxhsUVr01/P7QitMmS9maPxEQQ/luG3Y0ZjSiV75oX6j7txQGI7g9zCJ67wb4z7GI/xdDmfmXeiLKSV0FcXj5nJIWRLrickn9VlGVudAyGJhYET0rZzngYFeig+9dBNsJos3YjSXiZ7w2Dda2SHitG0AhGReW71sEUwZsmljRfaWkJro8P2PfrajX/G/CSiWWcbboyzky0mDhjy8KFknvUQqqGSbMhlrppImgUvr0D6UX6xhlp/WQ5jIgb4mRfaGy3DcVaWBgOYwTAG8E5cs3oLBg8FSjrfoTn+KSZ3NDxokYrFEDOySdXxFXuImVrbGiZ2DDIu8= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 342384cc-040a-43fb-e110-08dc84bda522 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:03.5154 (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: Dz27FlE4T0QzQUNTukT0jWSiwi5nA0lmssbbnwSeoWkXg0e0IR9mQLouLT9g2hMcDlEug4Fq0E5bHoxg7N4PMoOMQ2BcHpWwfOYHkBxZzzE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR10MB7593 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 mlxlogscore=999 bulkscore=0 spamscore=0 adultscore=0 suspectscore=0 malwarescore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406040142 X-Proofpoint-ORIG-GUID: 7jk2jXqsA4sJBvNYoJnZlLdJraKQEqHl X-Proofpoint-GUID: 7jk2jXqsA4sJBvNYoJnZlLdJraKQEqHl X-Rspam-User: X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: C7EEB180006 X-Stat-Signature: tg9yjk1dqkxi4oz7ezq88pdughneeouh X-HE-Tag: 1717522946-399474 X-HE-Meta: U2FsdGVkX18NnSrzTijWbX726U9S6bGYmKz70XK4fWd8LktlC9pfnOzNN6EBSbk2eDe53B8t3eqBUCixIDewFmkPLpq9Gv+1iwFncGaJ3RREZCfBEFTM2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wsHZCc5hgU7hYGDvUUzd/y9DJzeygajCIRZNOOA6L00ybVDx6e5VsZvDA2pQSXUw4NDjvrWLWe/7ZFWojsl5t/UDmP96LIr8DoR0/J4cuZgJ9x/TCNrhf2curyz69/M7e0jeoE2xPMRi1zwQGShEwRKYVHdtB3at9J43Srd1pyiDT7+v/n/s3f06VlAs+snKXHV07C3HBKNPAqGWwdCDIzf34SPFtd8PpFVsjN8LtDzNuOdgEbQJ+nyuBgY2cLCpSSvxJI4vtVG/hYuw== 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: Set the store type in mas_store_prealloc(). This is needed as mas_wr_store_entry() will be modified to read the store type to make a decision about how to complete the store. Signed-off-by: Sidhartha Kumar --- lib/maple_tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index b37fa8690558..3780d4bb0415 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -5631,7 +5631,8 @@ void mas_store_prealloc(struct ma_state *mas, void *entry) { MA_WR_STATE(wr_mas, mas, entry); - mas_wr_store_setup(&wr_mas); + mas_wr_prealloc_setup(&wr_mas); + mas_wr_store_type(&wr_mas); trace_ma_write(__func__, mas, 0, entry); mas_wr_store_entry(&wr_mas); MAS_WR_BUG_ON(&wr_mas, mas_is_err(mas));