]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
maple_tree: remove struct maple_alloc
authorSidhartha Kumar <sidhartha.kumar@oracle.com>
Wed, 3 Dec 2025 22:45:11 +0000 (22:45 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Jan 2026 03:24:47 +0000 (19:24 -0800)
struct maple_alloc is deprecated after the maple tree conversion to
sheaves, remove the references from the header file.

Link: https://lkml.kernel.org/r/20251203224511.469978-1-sidhartha.kumar@oracle.com
Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/maple_tree.h

index 66f98a3da8d8b9fe9924fdf3fc92092539b88c70..1323c28a7470b55a3a771bd9bdfa5c283c514a40 100644 (file)
@@ -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;
        };
 };