[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0801081155270.12911@kivilampi-30.cs.helsinki.fi>
Date: Tue, 8 Jan 2008 12:57:51 +0200 (EET)
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To: Andi Kleen <andi@...stfloor.org>
cc: David Miller <davem@...emloft.net>,
Herbert Xu <herbert@...dor.apana.org.au>,
Netdev <netdev@...r.kernel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
paul.moore@...com, latten@...ibm.com
Subject: Re: [PATCH 3/4] [XFRM]: Kill some bloat
On Tue, 8 Jan 2008, Andi Kleen wrote:
> David Miller <davem@...emloft.net> writes:
>
> > Similarly I question just about any inline usage at all in *.c files
>
> Don't forget the .h files. Especially a lot of stuff in tcp.h should
> be probably in some .c file and not be inline.
I'm not forgetting them... :-)
My intention is to do the same for all headers as well but I'd really like
to get some actual number of bytes by measuring rather than taking them of
the hat.
...It just requires some work still to get the uninlining actually do the
right thing and actually testing it involves orders of magnitude more
exhaustive recompilation than .o only checking required so after finishing
the script I either has to setup n distcc master with a number of slaves
each or wait for some time for the results :-).
However, I suspect that anything in tcp.h won't match to something like
~5-10k like I've seen in three .c files already + one with debugging that
has even more than 10k (even if all in tcp.h summed up :-)).
--
i.
--
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