From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from canpmsgout02.his.huawei.com (canpmsgout02.his.huawei.com [113.46.200.217]) (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 F1BEE2F9DBE for ; Thu, 4 Dec 2025 02:56:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=113.46.200.217 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764817020; cv=none; b=ij6rqeWOYuk265jZacXEkSsQwFxj9T1G9i+goVGSkLAQlkFw8EOiOCnLUfJY9UtVurSAAf3UOQbVXc9cafGOe8obAZQ+Cyl/tOgmLwTmLKPfDD+jFNdyjkQUdHjbt99XEBu6UvFjfPJEOi4ojtfMhP9nFZupbpvrDSENUEAuIF8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764817020; c=relaxed/simple; bh=wfucrc4eu15axSGzUbjQYeHkTt5sBYq23Jcr5qdhdj8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=qgKgr+svyXQf5f6T2Xs87ABkdJQWx7Fv7zO9+9bvtK4/EEohAUn8JBh8MsowooWy6GX/lCMMDnxwT5J4/pIQHpkE/FcTf8IrB7KBoGG/LLN5FUk9UQwc1GLGTyyxvHA3EWg0SQEm6/+gw/6TKMoPNtfor+AVkypi06kn03/iolo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b=A/tFglca; arc=none smtp.client-ip=113.46.200.217 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.b="A/tFglca" dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=p4HwebHuMSdIIvWzOcjujUTQyIIg7wOhi9Acam2SinM=; b=A/tFglcagO6U0dWcpvAAm/LvOwmnFW2KLpCmCY98KJSobQuGuvHa9W5mOvJTHdp8ZHwD4U3LE W/TZXoxEYWHskFHoXC8yK8bfF0fV+J02FP1z3sQMUEcwrqHefdKYseOX7lg6gKhcpmcs+Yuz67Z j4wKY55+Iz3W+SQuDmCvYpQ= Received: from mail.maildlp.com (unknown [172.19.88.105]) by canpmsgout02.his.huawei.com (SkyGuard) with ESMTPS id 4dMJxl3f3jzcb07; Thu, 4 Dec 2025 10:54:19 +0800 (CST) Received: from dggpemf500011.china.huawei.com (unknown [7.185.36.131]) by mail.maildlp.com (Postfix) with ESMTPS id B4023140258; Thu, 4 Dec 2025 10:56:48 +0800 (CST) Received: from [10.67.109.254] (10.67.109.254) by dggpemf500011.china.huawei.com (7.185.36.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 4 Dec 2025 10:56:48 +0800 Message-ID: Date: Thu, 4 Dec 2025 10:56:47 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH] maple_tree: remove struct maple_alloc To: Sidhartha Kumar , , CC: , References: <20251203224511.469978-1-sidhartha.kumar@oracle.com> Content-Language: en-US From: Jinjie Ruan In-Reply-To: <20251203224511.469978-1-sidhartha.kumar@oracle.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: kwepems100002.china.huawei.com (7.221.188.206) To dggpemf500011.china.huawei.com (7.185.36.131) On 2025/12/4 6:45, Sidhartha Kumar wrote: > struct maple_alloc is deprecated after the maple tree conversion to sheaves, > remove the references from the header file. > > Signed-off-by: Sidhartha Kumar > --- > 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; > }; > > -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; Reviewed-by: Jinjie Ruan > }; > }; >