From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Mon, 20 Sep 2010 21:26:47 +0000 Subject: Re: idr_get_new_exact ? Message-Id: <4C97D197.9070703@gmail.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Roland Dreier Cc: Ohad Ben-Cohen , linux-kernel@vger.kernel.org, "Jean Delvare (PC drivers, core)" , "Ben Dooks (embedded platforms)" , Roland Dreier , Sean Hefty , Hal Rosenstock , Steve Wise , Neil Brown , Paul Mackerras , linux-i2c@vger.kernel.org, linux-rdma@vger.kernel.org, dm-devel@redhat.com, linux-raid@vger.kernel.org, linux-ppp@vger.kernel.org, netdev@vger.kernel.org, akpm@linux-foundation.org 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