[dm-devel] idr_get_new_exact ?

Tejun Heo htejun at gmail.com
Mon Sep 20 21:26:47 UTC 2010


Hello,

On 09/20/2010 10:35 PM, Roland Dreier wrote:
> Looks fine to me as an improvement over the status quo, but I wonder how
> many of these places could use the radix_tree stuff instead?  If you're
> not using the ability of the idr code to assign an id for you, then it
> seems the radix_tree API is a better fit.

I agree.  Wouldn't those users better off simply using radix tree?

Thanks.

-- 
tejun




More information about the dm-devel mailing list