Re: idr_get_new_exact ?
From: Tejun Heo
Date: Mon Sep 20 2010 - 17:25:28 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/