[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 5 May 2008 14:58:01 +0300 (EEST)
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To: Johannes Berg <johannes@...solutions.net>
cc: David Miller <davem@...emloft.net>, Netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] [NET] warn when accounting an skb that already has a
destructor
On Mon, 5 May 2008, Johannes Berg wrote:
> On Mon, 2008-05-05 at 12:43 +0300, Ilpo Järvinen wrote:
> > On Mon, 5 May 2008, David Miller wrote:
> >
> > > From: Johannes Berg <johannes@...solutions.net>
> > > Date: Mon, 05 May 2008 09:31:15 +0200
> > >
> > > > If we decide to uninline those functions for another reason (used too
> > > > much, code size, ...) then we can still do that.
> > >
> > > Agreed.
> >
> > According to my measurements the size bloat of those two is
> > (x86/32bit, gcc 4.1.2 redhat something):
> >
> > -1091 40 funcs, 89 +, 1180 -, diff: -1091 --- skb_set_owner_r
> > -495 46 funcs, 70 +, 565 -, diff: -495 --- skb_set_owner_w
>
> So do we want to out-line them? I don't really know the scale involved.
> If so I can resubmit this patch with them outlined and the warnings
> added
...It's not among the topmost of them, here's the full list:
http://www.cs.helsinki.fi/u/ijjarvin/inlines/sorted.v2.6.25-rc2-mm1
> (but did you account for the EXPORT_SYMBOL space?)
Not really. I don't even know how to measure such...
--
i.
Powered by blists - more mailing lists