From patchwork Tue Jun 18 20:47:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sidhartha Kumar X-Patchwork-Id: 13703028 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 445E9C27C4F for ; Tue, 18 Jun 2024 20:49:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0CF588D0055; Tue, 18 Jun 2024 16:48:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id ECBCB8D005B; Tue, 18 Jun 2024 16:48:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D22648D0055; Tue, 18 Jun 2024 16:48:44 -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 8FC718D0059 for ; Tue, 18 Jun 2024 16:48:44 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 38BF0A2134 for ; Tue, 18 Jun 2024 20:48:44 +0000 (UTC) X-FDA: 82245198168.06.6029AF2 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by imf26.hostedemail.com (Postfix) with ESMTP id E70C714001E for ; Tue, 18 Jun 2024 20:48:40 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=LG28IOwN; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="evrLFT/Q"; dmarc=pass (policy=reject) header.from=oracle.com; spf=pass (imf26.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@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=1718743713; 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=LbRUqzQTGgReNrj5x/34j4uZL7gNsaS8wJAQGdq1eJ8=; b=4xM53bLeLlpxfJdXrOSgXNG0jTZHHMd3wsRbes+oAtiIvVFntn/gmiUai1tOOImK7GtczH vdazmx3HAIvCej41DJscg3Z5N+Au0mZkNqifM6SVa4hkLz0fqrnux94kUH0W63PmjrNrlT 4+JJZaI5LWeagcHImVbPjSSC3xmzOaQ= ARC-Seal: i=2; s=arc-20220608; d=hostedemail.com; t=1718743713; a=rsa-sha256; cv=pass; b=GSaZFmF/ooa7/NWxtrXIDTKNf7NbfwQpehrewhlDLfzB0hQm0RNvCM0bIxC9l6UlD5naOF nmt/vXrq1s+mNaluLk858hlj3L4q5hotSn08+ALt1NthhN5ylcdCFkOufTUifhi9N8V4np Q2h2mUYMfHahT4UAtr8qvQBfV+uymR4= ARC-Authentication-Results: i=2; imf26.hostedemail.com; dkim=pass header.d=oracle.com header.s=corp-2023-11-20 header.b=LG28IOwN; dkim=pass header.d=oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b="evrLFT/Q"; dmarc=pass (policy=reject) header.from=oracle.com; spf=pass (imf26.hostedemail.com: domain of sidhartha.kumar@oracle.com designates 205.220.177.32 as permitted sender) smtp.mailfrom=sidhartha.kumar@oracle.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45IIUvXo031029; Tue, 18 Jun 2024 20:48:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :content-transfer-encoding:content-type:mime-version; s= corp-2023-11-20; bh=LbRUqzQTGgReNrj5x/34j4uZL7gNsaS8wJAQGdq1eJ8=; b= LG28IOwNvtanZ1cDEcuoYeIe8O6j0ck0/OQ+0htS31vV5zXUO/jaK54/RG5veioB TAjhlNiYE6Q4xW5viRPCUarOYSqHifuqaxomdlQdBZsJSsUkWupmkvEs7rZ5N3t0 AbJFWgDYBViix+u8idLu5B74STWO/0HnXgnprRZmqTqNi4Sg0Kydp0V7ECertFsH i3o/VI8O3pA/voe6H8okZf0oEPdM++ZrHZh0Vac3ZJTMGMoa9MGbz4T36OiPmLd/ 6aEN3VgY0vg86lCONOFEIfLBDWvq4Wj1gyvXZFNL1EPttfbXxQ4fSLQP54LoPrB3 sDq8xIE+PU7b6t5L/Usv7Q== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3ys1r1wv5t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Jun 2024 20:48:33 +0000 (GMT) Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 45IJeuRa034707; Tue, 18 Jun 2024 20:48:32 GMT Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2040.outbound.protection.outlook.com [104.47.73.40]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ys1d8p6p6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 18 Jun 2024 20:48:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XitMcOMmsicDpt3zuKl+5cGFKyo9i2kbFB5H5xF/zIVabUinvqpPmuMj/Frnvw4bAcWJWc/apKn6pZDZrAxXDLGweP6ja+xFgkYW4XG5+7UE2kR5G8gHNzWIBEzSlL30tYWsXmVL9Pl4ZvfPhbIp49VFqYgatjj68L0HgFxE4gVTn3LSq0TEcIpyH93MylaVA5ltJrni0VV5jq8tcXnpgnklme/DJiQbK+UKsFdGiQJ4G6pgHK+ZWAaTo0B42am0tbBcQ5sDGxq16KaqHBzOHUpIKdo31/cclC7mhPSmzDYx+OBZ7g7Avj9tELXCSAfEZjmk9znnrIEalMtu0n9vmQ== 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=LbRUqzQTGgReNrj5x/34j4uZL7gNsaS8wJAQGdq1eJ8=; b=HUjfKRTjHwdHnMhcRtmYc5wlVXVRe8kmS2EDXASOcHC/JDiNaV/qRsz/v5hvQRiogkF9ihCgz7X5TovhygHS2vaDudwvd820ETn0vbJg1RUeA3dGesLmy57RW2i6bK6NEcoIeTcwT/v9goxZapb4uhw8aZrcN9wrzuTogVBegi47u6Vls85tVFVfj6t+53+CbhGqi5z6BiJZt1+BUHA5mz8ZQNzIio8+q6eAwbqC84iYMtvc6prqRAJDHnNpbPH+y4+W6tPyK3v2q/iEHE65ajDiWj27Bl2nik7AuXmho04vBXsH0IFJLFXz4D/P0enatAQXF5sCzn4AcEMXy4Z4Mg== 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=LbRUqzQTGgReNrj5x/34j4uZL7gNsaS8wJAQGdq1eJ8=; b=evrLFT/QQ4wgA8Xe298f0KDEb6CtM/Qjp6qFzzSOa49QxcErL3iBjAYBF1QuzRM3jGgna3jxcusmadSQQgm4IaGe60TZLZmSxJIo749Fi2rgJ/14Igy6Dzi/0p6/jWmMPvq8Ij50qqNueRR/LnLVdDCC24JqG8Mq08fhAVRx9Aw= Received: from CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) by SJ0PR10MB5785.namprd10.prod.outlook.com (2603:10b6:a03:3d1::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Tue, 18 Jun 2024 20:48: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.7677.030; Tue, 18 Jun 2024 20:48:02 +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 v3 01/16] maple_tree: introduce store_type enum Date: Tue, 18 Jun 2024 13:47:35 -0700 Message-ID: <20240618204750.79512-2-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240618204750.79512-1-sidhartha.kumar@oracle.com> References: <20240618204750.79512-1-sidhartha.kumar@oracle.com> X-ClientProxiedBy: SJ2PR07CA0022.namprd07.prod.outlook.com (2603:10b6:a03:505::24) To CH0PR10MB5113.namprd10.prod.outlook.com (2603:10b6:610:c9::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH0PR10MB5113:EE_|SJ0PR10MB5785:EE_ X-MS-Office365-Filtering-Correlation-Id: ce288bba-b268-492c-7ccd-08dc8fd7f1af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|1800799021|366013|376011; X-Microsoft-Antispam-Message-Info: 9eFr2xSLjSLDKDbZtjApfosPHxZnqIdGvmBhkiz4+By5q0JgHpyLSv2RNw8a4RMgGFII0tEO0HFm3Ah5uUxHYrAm/p5ngqsKFNJY6OjfXp0JkEo5g4Z3vHOQOBbbh6W8iT04HSjKI0bRbFfKH9MKyh6mv6vCnC4JHe5H4c+AyLYXjD7RoOYp+XkAnnQadmekeog+BNgkJ02rNU+1tGp0f+w/Qpevo/cQLzFvHHosK4iEGwU7NoyccD8OMeScE+AxDXXDfqQV4LCx+8py/938YygmVZZFw+4aCWRLASgtjIJ7wCrXcTScYKpNfgkB46cHZ9ZnNRw+hiHjx7iJpTRJ7e2o81XHKgmauE3Z5RqxFBnPQzvOjN+CdSeTn0Cg5TMb4iZW0GKN3MGYYqjnuLn5r73CeDxuUcJsKEVR9iirAm/u/vw3xjfvzefLD4sTEU4MMxrapG6AI3WIjeTUBgtJRGvBkh2EDb9wgTH0w3xUuAx6jUlblOAeO9qzdmLiY9jCz6Gnz4JwtrErpS/uOQk4QlOricXiubWEULIDWoSnaNRndbxw5SPvHYsrfZslRXjQ99EgXt0IyHuEL3paQFBXjqVcs5lt98XBhRlTCzCuw5E/o9alQstu7Tt2GkDnVxM7CIuu9cD1o/4rBP4DXId37zd5yP547IdkaAL406PLlpQBppzqslWxFRRiCDyeXU6v2iMH1FVmSxu1xBAd4a0I8d+yKplmJ2KdlGJwJFksRASQP1AGGmBKRJDfxlPC9XkpgxvGqHc8gwScIpLnfNdfTP/aeklu5Gw5kYGHaELMpRjgt+ZYiw+E01UwsiSNchF2fz256hoAi0WsQWEMt5rYs6buRFIYiGX6y1PdfFChj2+dBXwX7mX29wKCHszZjjYKjCv49DKBWMP2sOC6nnltbrcb4dwZla5W3xanbrTLhBVwnYaEcfLSG7ApIy23YrxuIjCAi8HqQ30EQXvIypmoR35X9MADVw3qEvo6err+M+qFRLux1323804VEcPJaQrR25AnTb0NWXSjkShew2we1aE1uyAOLHuuA+NCZMMQwfNrSsndafpnEtXiFw5MG14QmIrpBI5YRckVcO6iVouFpqNAAmTDQC7bYmBai++5PPf41csIT0JAdR29Yl4iJdPwuyxdpDUK53G0ss0p+qNfyaay6k9hrRMo2AacsF/CS8U0YxU/WfjvollzMHiq0G2zkRIxn291mZR5TbofyyAXGISHY39b5mxoiOBaGyvLWT/VVvImmQmPerQhTiPRn3QIZ1srOBqjTRA6Lk2+GXuwUacNn5EiRcxVv3PTll73dsQpUToxALlIcCyJkXmciHdN 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:(13230037)(1800799021)(366013)(376011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fpYGvxNs/IRJMovVuUQWxHM6zasBIhvIamID47qyNlkdUyyaNKyXvvMGZfqYc3gSQRZWo3oUOGEEH/d5zPczcHCcGg+NFbTVerIJCTQwfAT1+97KUI4TsmYcnqB31xsNB261EvjXRCOgm8HNwojWkYSZFhxa4RJIknQxaPBiJEDEq8KyRidVUlgEE/U9wsiTZXPEL4lRduQ+oKSWS/Xv+c9KL04EfOKMMVm1fSV2KQfp+f8FOy4AAk+MMYyDoX6FquAFeukmYI2kFPcrggsgRtwWr6Wq2Jx/C5wVXJHi5q/B9qCfWEBxG5jngwGm11CNJn1q4OEXPBeXyCxmOpaWLNBzWZ4Vpm9dOeLbPSeR6jV4RsLbXMI4OzUWbqZmk1Ig4i+vpnA2RwMEevcUe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ZFqkiUH6DGgfdV2+/MeWvUWXrBT12uM6Po+hPjzhCyQiCxDh0x6fFbbxhYpg98+h+TUu6+f5RI/xBbbeASzzhRkskMMIPkf8+cJ5FVNs6vK/yr/3SVdgrxguHjkuSEEtVknac/RBYGYcap+9wyA/+RkHzBsalajZk= X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: KpzrI9q11L1RKolXZbmGHvdUrB9FDKFqw5xkQo+34Irv9gbCI8BMW796ax5ktTe39hNrpe15bwtLHa7FCWBnM9yU8/tiA9jjBQGEQKZvzmhVVinAEwKje655/uitfSHke0mw3kxH8kXmT5i0/nzDFKtW9pD8Zhi+KTu/lC51JzMvSa2sAzbmcrQAQw4iuJRH25HaZhv3aTPpIoX+idI8dFaTjM1bJ7OOsei0ch/gc5Pdi3AoEnU72cijmt60ZzMaDKMgYXHUFsOeS21c8pmiN7FpZewEByVagHn3+o/ak0+RTjAtmZ6Lw7j/8zVxiqE/rO1kiUYGVqSw4GdTT034umpgw93pVWT0VgE2MUSLFDUEro2bPXUDnQrIccjtG9vbKjB1iOO3JqPS06vdlNmFZ7dJ36HmRA08I74Z/llAyzwwDdTWWhghWgAqRtsW5/HKIxdA8WVf7Z9oMLq0qPgNyrwM2jeLTtvDKEKL4BzUE/q8y+bgSPdtYlq91OMlaishlASyjRovdcF6Hf6ofgzv6EGTbIB3tyCmyKPNMDDa6wUO3W5yrrTn/xdLcs/59LdK+XtVCtebXh1C7E1J5xIRP3NXf1z2MZGNdVe+shNVsaE= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: ce288bba-b268-492c-7ccd-08dc8fd7f1af X-MS-Exchange-CrossTenant-AuthSource: CH0PR10MB5113.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2024 20:48:01.7399 (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: ohGhTwhHMiyBe1GRDOLHNeHhdDMEB3UabD+J+DCkrDNMsrzMtYpvr4YMPDYKzbHst6rhbQWr2eMAZ4DVGQaDVEEEPi2Wrhw3J2oQGl6+UMI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB5785 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-18_04,2024-06-17_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406180153 X-Proofpoint-ORIG-GUID: 3yFq5Vu16nJxACEtrwUJTe3hk2Cv30ek X-Proofpoint-GUID: 3yFq5Vu16nJxACEtrwUJTe3hk2Cv30ek X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: E70C714001E X-Stat-Signature: jiw433wir5miiyb78a18e3xgc5kdniqb X-Rspam-User: X-HE-Tag: 1718743720-38074 X-HE-Meta: U2FsdGVkX18Nkqd41ckayUxzg2BZ39Tl+4Gu/zzoqb8sPY/TvmHpDFJxpnmy/8nj33hOR4EesC9nH9WA2cNUKfx+X2SnCdGwCUJTeSr/aXVezNM6BugTHmrhqNuulktbiYSJoCUdgu+D3D8Hr8JipyQvd4MmXrXXUv09Q6883TSrBXS2LCbxJmu3p1i/hjXTOhIOCYUNdR9WjEyiZRAk9l5i8iVNNxo7Br4whm37waEtEg1lpNOjNt/fXoci0WmoMC0XGt58fuqLpeIUFXz87W5/4klwSe7q4xwegPfpoF9AV2JeEdZI5AMLDCtU95gKNPdUSPuUA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Y6gZBPNfcvzumNlKdG3xziXCY2FIVqqyoJNcm5KHRHkmv7YCVQ== 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: Add a store_type enum that is stored in ma_state. This will be used to keep track of partial walks of the tree so that subsequent walks can pick up where a previous walk left off. Signed-off-by: Sidhartha Kumar --- include/linux/maple_tree.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index a53ad4dabd7e..2a2abda9eb32 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -148,6 +148,19 @@ enum maple_type { maple_arange_64, }; +enum store_type { + wr_invalid, + wr_new_root, + wr_store_root, + wr_exact_fit, + wr_spanning_store, + wr_split_store, + wr_rebalance, + wr_append, + wr_node_store, + wr_slot_store, + wr_bnode +}; /** * DOC: Maple tree flags @@ -436,6 +449,7 @@ struct ma_state { unsigned char offset; unsigned char mas_flags; unsigned char end; /* The end of the node */ + enum store_type store_type; /* The type of store needed for this operation */ }; struct ma_wr_state { @@ -477,6 +491,7 @@ struct ma_wr_state { .max = ULONG_MAX, \ .alloc = NULL, \ .mas_flags = 0, \ + .store_type = wr_invalid, \ } #define MA_WR_STATE(name, ma_state, wr_entry) \