Re: idr_get_new_exact ?
- To: Roland Dreier <rdreier@xxxxxxxxx>
- Subject: Re: idr_get_new_exact ?
- From: Tejun Heo <htejun@xxxxxxxxx>
- Date: Mon, 20 Sep 2010 23:26:47 +0200
- Cc: Ohad Ben-Cohen <ohad@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, "Jean Delvare \(PC drivers\, core\)" <khali@xxxxxxxxxxxx>, "Ben Dooks (embedded platforms)" <ben-linux@xxxxxxxxx>, Roland Dreier <rolandd@xxxxxxxxx>, Sean Hefty <sean.hefty@xxxxxxxxx>, Hal Rosenstock <hal.rosenstock@xxxxxxxxx>, Steve Wise <swise@xxxxxxxxxxx>, Neil Brown <neilb@xxxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, linux-i2c@xxxxxxxxxxxxxxx, linux-rdma@xxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-raid@xxxxxxxxxxxxxxx, linux-ppp@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx
- In-reply-to: <adaiq20f90h.fsf@xxxxxxxxx>
- User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4
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-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Audio Users]
[Hams]
[Kernel Newbies]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Linux Resources]
[Fedora Users]