HomeFreeBSD

Implement radix_tree_store() in the LinuxKPI for use with the coming

Description

Implement radix_tree_store() in the LinuxKPI for use with the coming
extensible arrays implementation.

While at it add some more comments explaining the current
radix_tree_insert() function and make sure to clean the root node when
the radix tree reaches the maximum height. This can happen if the
index passed is too big when the tree is empty.

The radix_tree_store() function is basically a copy of the
radix_tree_insert() function with some added functionality.

The radix_tree_store() function is local to FreeBSD and does not yet
exist in Linux.

Reviewed by: kib
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on Aug 7 2020, 4:15 PM
Parents
rG11412d5bc921: Fix linker error in libuutil with recent LLVM
Branches
Unknown
Tags
Unknown

Event Timeline