[PATCH] maple_tree: remove struct maple_alloc

Jinjie Ruan ruanjinjie at huawei.com
Wed Dec 3 18:56:47 PST 2025



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 <sidhartha.kumar at oracle.com>
> ---
>  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 <ruanjinjie at huawei.com>

>  	};
>  };
>  



More information about the maple-tree mailing list