Re: [PATCH 08/24] net, diet: Make TCP metrics optional
From: Andi Kleen
Date: Tue May 06 2014 - 16:37:50 EST
> 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@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/