Re: rb_tree methods export request

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Apr 11 2002 - 07:24:47 EST


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
-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:18 EST