[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0808272035190.4613@wrl-59.cs.helsinki.fi>
Date: Wed, 27 Aug 2008 20:58:38 +0300 (EEST)
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To: Pavel Emelyanov <xemul@...nvz.org>
cc: Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [RFC][PATCH] Turn part of SNMP accounting macros into functions
On Wed, 27 Aug 2008, Pavel Emelyanov wrote:
> Actually the complete bloat-o-meter.sh output showed that there were
> ~10 functions, that became 8 bytes liter, ~10 that became 12-16 bytes
> liter and so on. This makes me think, that the code in the macro
> itself is pretty small, but is used widely in the networking code,
> and this spread makes such a big bloat.
I once measured all static inlines in the headers and the largest bloaters
where of that type where the function itself is quite small but it's
called from so many places that it add 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