Commit 3a319a24 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

lib/generic-radix-tree.c: Make nodes more reasonably sized



this code originally used the page allocator directly, but most code
shouldn't do that - PAGE_SIZE varies with architecture, and slab is
faster.

4k is also on the large side for typical usage, 512 bytes is a better
choice for typical usage that might be somewhat sparse.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d6454799
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment