[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080115081905.3b8b6f05@deepthought>
Date: Tue, 15 Jan 2008 08:19:05 -0800
From: Stephen Hemminger <stephen.hemminger@...tta.com>
To: Eric Dumazet <dada1@...mosbay.com>
Cc: David Miller <davem@...emloft.net>, robert.olsson@....uu.se,
netdev@...r.kernel.org
Subject: Re: [RFC 6/6] fib_trie: combine leaf and info
On Tue, 15 Jan 2008 07:16:30 +0100
Eric Dumazet <dada1@...mosbay.com> wrote:
> Eric Dumazet a écrit :
> > Stephen Hemminger a écrit :
> >> Combine the prefix information and the leaf together into one
> >> allocation. This is furthur simplified by converting the hlist
> >> into a simple bitfield.
> >>
> >> Signed-off-by: Stephen Hemminger <stephen.hemminger@...tta.com>
> >>
> >> This patch is experimental (ie it boots and loads routes), but
> >> is slower for the 163,000 route dump test.
> >>
> >
> > Its also very memory expensive. That was not Robert suggestion I believe.
> >
> > Its suggestion is to embedd one info into each leaves.
> >
> > Please find attached to this mail a preliminary and incomplete patch I
> > wrote this morning before coffee :), to get the idea.
>
> Oops, patch reversed, sorry, and against another work pending in my tree.
>
> Now time for cofee :)
>
Okay, I would rather see the leaf_info explicit inside the leaf, also
your scheme probably breaks if I add two prefixes and then delete the first.
Let me have a go at it.
--
Stephen Hemminger <stephen.hemminger@...tta.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists