[openib-general] linux/index.h
Bryan O'Sullivan
bos at pathscale.com
Fri Mar 10 10:14:48 PST 2006
On Fri, 2006-03-10 at 10:04 -0800, Sean Hefty wrote:
> The closest equivalent functionality to index.h in the kernel is radix_tree.h.
> However, radix_tree supports a fixed key size of 'unsigned long'. Index.h
> supports a variable sized key.
Fair enough. It seems like it would be more accurate to say that
index.h supports a fixed-size key per table, but different tables can
have keys of different sizes.
By the way, if that's the case, the keys should be void *, and not u8 *,
since the former implies more strongly that they're opaque. The
key_length should probably be size_t, too.
<b
More information about the general
mailing list