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