Bryan O'Sullivan wrote:
Hi, Sean -
What's the motivation behind adding <linux/index.h> to the kernel? It
looks very, very similar to <linux/idr.h>. Would the right thing to do
not be to extend idr, or just put a thin layer around it for local_sa?
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. Changing radix_tree to support a variable sized
key would result in an entirely new interface and implementation.
- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general