* rb_tree methods export request @ 2002-04-11 9:03 Martin Devera 2002-04-11 12:24 ` Andrea Arcangeli 0 siblings, 1 reply; 4+ messages in thread From: Martin Devera @ 2002-04-11 9:03 UTC (permalink / raw) To: andrea; +Cc: linux-kernel Hello Andrea, I write to you as to maintainer of rb_tree code in 2.4. I'm just finishing module (QoS HTB scheduler) where I need to use balanced tree and your rb_tree implementation seems as the best one for it. Only problem is that rb_delete and athers are not exported so that I can't use them in the module. Is there some problem to export the symbols or should I duplicate the code ? thanks, devik http://luxik.cdi.cz/~devik/qos/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rb_tree methods export request 2002-04-11 9:03 rb_tree methods export request Martin Devera @ 2002-04-11 12:24 ` Andrea Arcangeli 2002-04-11 12:30 ` Martin Devera 2002-04-11 12:32 ` Christoph Hellwig 0 siblings, 2 replies; 4+ messages in thread From: Andrea Arcangeli @ 2002-04-11 12:24 UTC (permalink / raw) To: Martin Devera; +Cc: linux-kernel On Thu, Apr 11, 2002 at 11:03:47AM +0200, Martin Devera wrote: > Hello Andrea, > > I write to you as to maintainer of rb_tree code in 2.4. I'm > just finishing module (QoS HTB scheduler) where I need to use > balanced tree and your rb_tree implementation seems as the best > one for it. > Only problem is that rb_delete and athers are not exported so that > I can't use them in the module. > Is there some problem to export the symbols or should I duplicate > the code ? You don't need to duplicate the code: ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre3aa2/00_rb-export-1 It is just included in 2.4.19pre6 mainline btw, so just updating to the latest kernel should solve your problem with the module. 2.5 is still missing it, but it should be applied there too eventually. Andrea ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rb_tree methods export request 2002-04-11 12:24 ` Andrea Arcangeli @ 2002-04-11 12:30 ` Martin Devera 2002-04-11 12:32 ` Christoph Hellwig 1 sibling, 0 replies; 4+ messages in thread From: Martin Devera @ 2002-04-11 12:30 UTC (permalink / raw) To: Andrea Arcangeli; +Cc: linux-kernel > > Only problem is that rb_delete and athers are not exported so that > > I can't use them in the module. > > You don't need to duplicate the code: > > ftp://ftp.us.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4/2.4.19pre3aa2/00_rb-export-1 > > It is just included in 2.4.19pre6 mainline btw, so just updating to the > latest kernel should solve your problem with the module. :) Good news. Thanks a much Andrea devik ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rb_tree methods export request 2002-04-11 12:24 ` Andrea Arcangeli 2002-04-11 12:30 ` Martin Devera @ 2002-04-11 12:32 ` Christoph Hellwig 1 sibling, 0 replies; 4+ messages in thread From: Christoph Hellwig @ 2002-04-11 12:32 UTC (permalink / raw) To: Andrea Arcangeli; +Cc: Martin Devera, linux-kernel On Thu, Apr 11, 2002 at 02:24:47PM +0200, Andrea Arcangeli wrote: > 2.5 is still missing it, but it should be applied there too eventually. 2.5 now also exports the rbtree routines. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-11 12:32 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-04-11 9:03 rb_tree methods export request Martin Devera 2002-04-11 12:24 ` Andrea Arcangeli 2002-04-11 12:30 ` Martin Devera 2002-04-11 12:32 ` Christoph Hellwig
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®