From nobody Sun Feb 8 09:43:22 2026 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D614BDF6C for ; Wed, 3 Dec 2025 22:45:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.177.32 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764801928; cv=none; b=G5JKAFNOW6HYl6D9dA3UoKiZDbdv1dkO2BV5EqdShqrGUeEifiUjkx6UMNtpVfPJzDwjZiIZjSnewZQV7rTMS7ETrJ540pV8j6dHCfHjlGfbvm5Oo/KIeWw8Ptm9OFqSeXW615vxk1tNpiV5oDc6OHp42xDOI6mMLtlOehmd3ZM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764801928; c=relaxed/simple; bh=U0ULH54bH9Jw2MOij5lQE9/rXPQfPmSb7OW0Uf3JT94=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NIs4PHoDoGUAqwu5XK2IeeJ0sQaE2E2vZRYoM25KKDZgupwcfhdwM/AlUUaQ5iBQXXp5VTj4CyiduBuKv4XzkIFf/aD40Tg+tHePV0rKwB3VhtrLNDJ7qKfwKFjW1usgEeii9DRROkhZGl1IjbgGf1JqWIT/zEtnWXkhidNU2Rg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=oNjmJlKy; arc=none smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="oNjmJlKy" Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5B3IR9Ar3248361; Wed, 3 Dec 2025 22:45:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc :content-transfer-encoding:date:from:message-id:mime-version :subject:to; s=corp-2025-04-25; bh=RI1lLQv2NWzxTkqIWAN4EbiIEEXFn 6NHdC/32qrxRls=; b=oNjmJlKyiVzW02BLCnQ0lCSen8fiMbJGQakXBHYmd6bQj NcPVWH9NTRzYNhnmULa3DwtL7U9TPwZh9sp0OMxyxDCuUbIDNeMwu6xU4FIOQFxn HlNfO+HL3dc2Fi6O64YKDAOPusIqHyrqlbfFPkHwdpnKQgMOtmS5CqmQWIJAx5/+ bbfEWWAl2hlhmYpF2cedQompmJYV+mnZ0/u7hEd9GJjQurvopbPKtej1sQHCOVwh WZD/71uSKtJkAZBRlkk3paHBHVckazecYHIlIANeoKaMUvGKOjzrxJ8+kO6EsdK3 Tdtqz0NfLAtvHiPXJ62GtkPpfgao0eMvqXfgziN9A== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 4as86yeape-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 03 Dec 2025 22:45:19 +0000 (GMT) Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 5B3Lj9gc016623; Wed, 3 Dec 2025 22:45:19 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 4aqq9b28tt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 03 Dec 2025 22:45:19 +0000 Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 5B3MjIYd022792; Wed, 3 Dec 2025 22:45:18 GMT Received: from sidhakum-ubuntu.osdevelopmeniad.oraclevcn.com (sidhakum-ubuntu.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.250.108]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 4aqq9b28td-1; Wed, 03 Dec 2025 22:45:18 +0000 From: Sidhartha Kumar To: linux-kernel@vger.kernel.org, maple-tree@lists.infradead.org Cc: akpm@linux-foundation.org, liam.howlett@oracle.com, Sidhartha Kumar Subject: [PATCH] maple_tree: remove struct maple_alloc Date: Wed, 3 Dec 2025 22:45:11 +0000 Message-ID: <20251203224511.469978-1-sidhartha.kumar@oracle.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-12-03_03,2025-12-03_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 adultscore=0 spamscore=0 bulkscore=0 suspectscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2510240000 definitions=main-2512030180 X-Proofpoint-GUID: IoAkbHk5xVzySnH6QFr_15dO8m1BivI- X-Authority-Analysis: v=2.4 cv=AaW83nXG c=1 sm=1 tr=0 ts=6930bd80 cx=c_pps a=XiAAW1AwiKB2Y8Wsi+sD2Q==:117 a=XiAAW1AwiKB2Y8Wsi+sD2Q==:17 a=wP3pNCr1ah4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=yPCof4ZbAAAA:8 a=ItzHbT77bYQvlNm8O-sA:9 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMjAzMDE4MSBTYWx0ZWRfXxNIKtI8oNlA9 7MJdJpm+cwiuDkNkdqEhvLf9chds5upESvL1tPL7KMcRfJwT875HP9ifyOoRlwlSxcHu5jAQtMI AEeFfGkoeFy2prm16zeDaYOmdMyi8QNgplKJOWibj0SHWk57aloobX+kNQ7KjYPpK2fWPtLUNKz lo8X3BrGD3a8ZXQn3iJhzjmATxVPAV0ZzmX5SZg3nAUYozhLTZOFedj2p/Pr802inqNxyajkbVH NaLjtYoxPj/2fsQmwa0AdhAJJ0SD2UAnAwBX9Ltoo54chYe/bJ3Gm0J3rm8RvtJIWHoZ1e8mmsg 6USpb4RXCRCdDZwMya//B3YgUPd5J5KIAOmugdmyQeaP4MR4aaH2/+ZITFeTWxBPVgVxnddXAo8 F7PU2Pryz2dw0USbMZTUf6MCLF0CmA== X-Proofpoint-ORIG-GUID: IoAkbHk5xVzySnH6QFr_15dO8m1BivI- Content-Type: text/plain; charset="utf-8" struct maple_alloc is deprecated after the maple tree conversion to sheaves, remove the references from the header file. Signed-off-by: Sidhartha Kumar Reviewed-by: Jinjie Ruan Reviewed-by: Liam R. Howlett --- include/linux/maple_tree.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h index 66f98a3da8d8..1323c28a7470 100644 --- a/include/linux/maple_tree.h +++ b/include/linux/maple_tree.h @@ -129,13 +129,6 @@ struct maple_arange_64 { struct maple_metadata meta; }; =20 -struct maple_alloc { - unsigned long total; - unsigned char node_count; - unsigned int request_count; - struct maple_alloc *slot[MAPLE_ALLOC_SLOTS]; -}; - struct maple_topiary { struct maple_pnode *parent; struct maple_enode *next; /* Overlaps the pivot */ @@ -306,7 +299,6 @@ struct maple_node { }; struct maple_range_64 mr64; struct maple_arange_64 ma64; - struct maple_alloc alloc; }; }; =20 --=20 2.43.0