[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140506030833.GL2382@two.firstfloor.org>
Date: Tue, 6 May 2014 05:08:33 +0200
From: Andi Kleen <andi@...stfloor.org>
To: David Miller <davem@...emloft.net>
Cc: andi@...stfloor.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, tom.zanussi@...ux.intel.com,
ak@...ux.intel.com, robert.olsson@....uu.se
Subject: Re: [PATCH 22/24] net, diet: Support simpler routing table
On Mon, May 05, 2014 at 11:02:59PM -0400, David Miller wrote:
> From: Andi Kleen <andi@...stfloor.org>
> Date: Mon, 5 May 2014 15:26:11 -0700
>
> > Add an optional fib_list that uses a simple list to store routes.
> > This is suitable for single homed client system which typically
> > have only a handful of routes.
>
> Sorry I'm not applying this.
>
> We had two routing table implementations for some time and it sucked,
> it meant two code paths and two places for bugs to hide.
FWIW it seems to me the trie code is very stable, there doesn't
seem to be any big changes in a long time.
>
> I want only one data structure which does the job well, and we have
> that now.
I don't see any good way to slim the trie code down. Do you?
It's just inherently complex. Yes on many systems it's a good thing,
and the complexity is justified,
but on the tiny systems the bloat and code size just hurts.
If we can't get the bloat down these users will just desert us to lwip ...
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists