Re: [PATCH 08/24] net, diet: Make TCP metrics optional

Andi Kleen
2014-05-06T20:37:47Z

> In 1024 bytes of memory, and keep an efficient kernel to handle
> arbitrary number of sockets using the venerable and slow BSD socket api.

I agree running in 1024 bytes would be challenging.

> Adding ~1000 lines of code to save few KB was the point I gave up.

You're refering to fib_list? It currently has some duplicated code
(this could/should be fixed). Or we could drop it, I suppose, if really
everyone hates it.

(I thought it was a cute idea, but I'm biased :-)

Total it is saving 350k, about 30% of the total text size of the mini kernel
(plus some dynamic savings) with networking.

I would be happy to fix any reasonable objection. But fundamental
"I don't care about anything smaller than my smart phone" type arguments
are not particularly constructive.

-Andi
--
ak@linux.intel.com -- Speaking for myself only