login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
31
Re: [PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return value to follow the kernel convention
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: Pierre Peiffer <pierre.peiffer@...>
Cc: <linux-kernel@...>
Subject:
Re: [PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return value to follow the kernel convention
Date: Wednesday, October 31, 2007 - 6:14 am
On Wed, 31 Oct 2007 11:06:32 +0100 Pierre Peiffer <pierre.peiffer@bull.net> wrote:
quoted text
> > > > Storage classes which need to allcoate memory at insertion time are hard: > > radix_tree_preload() gets it right in terms of robustness, but it's an > > awful lot of fuss. > > > > IDR gets it all wrong and compounds the problem by implementing internal > > locking. It shouldn't have done that: storage code like this should use > > only caller-provided locking. > > Ok, but for that, I prefer to let the IDR maintainers see what they can do, > because I'm not familiar at all with the IDR implementation and can not focus on > that now.
Jim isn't very active nowadays
quoted text
> So do you think that just providing a new API (something like > idr_pre_allocate(), as you say above) would be better than nothing ? > Or we just leave the code as is for now ?
I guess we can leave it as-is if the present interface isn't actually causing you guys any problems. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return value...
, Pierre Peiffer
, (Tue Oct 30, 12:13 pm)
Re: [PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return v...
, Andrew Morton
, (Tue Oct 30, 1:33 pm)
Re: [PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return v...
, Pierre Peiffer
, (Wed Oct 31, 6:06 am)
Re: [PATCH 2.6.23-mm1] Change the ida/idr_pre_get() return v...
, Andrew Morton
, (Wed Oct 31, 6:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
David Brown
Re: Linux 2.6.21-rc2
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Justin C. Sherrill
Re: dragonflybsd.org website link?
git
:
linux-netdev
:
Ben Hutchings
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
573 guests
online.
Online users
juegosiles
olecom
Syndicate