1 // SPDX-License-Identifier: GPL-2.0-or-later 2 3 /* Very simple shim around the maple tree. */ 4 5 #include "maple-shared.h" 6 #include <linux/slab.h> 7 8 #include "../../../lib/maple_tree.c" 9 10 void maple_rcu_cb(struct rcu_head *head) { 11 struct maple_node *node = container_of(head, struct maple_node, rcu); 12 13 kmem_cache_free(maple_node_cache, node); 14 } 15