Netdev List
 help / color / mirror / Atom feed
* Re: Re: [PATCH] Merge __load_pointer() and load_pointer() in net/core/filter.c; kernel 2.6.14
@ 2005-11-03  6:54 Kris Katterjohn
  0 siblings, 0 replies; only message in thread
From: Kris Katterjohn @ 2005-11-03  6:54 UTC (permalink / raw)
  To: Mitchell Blank Jr; +Cc: Herbert Xu, jschlst, davem, acme, netdev, linux-kernel

> > > From: Mitchell Blank Jr
> > > > (I trimmed the cc: list a bit; no need for this to be on LKML in my opinion)
> 
> I see you just added it back.  Oh well.

When I emailed (CC:) Herbert Xu (who emailed about this earlier), I got an email
back that said it couldn't send to him. So, I just added linux-kernel back so
he'd see it if he's interested at all.

> > > So I guess use my patch and take "inline" off? What do you think?
> 
> Well the original author presumably thought that the fast-path of
> load_pointer() was critical enough to keep inline (since it can be run many
> times per packet)  So they made the deliberate choice of separating it
> into two functions - one inline, one non-inline.
> 
> So my personal feeling is that the code is probably fine as it stands today.

It probably is. Doesn't really matter I guess.
 
> > Maybe "static" should be removed, too? Oh well.
> 
> Uh, why?  It's clearly a file-local function.

No real reason, just that none of the other functions in filter.c are static.


Thanks

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-03  6:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03  6:54 Re: [PATCH] Merge __load_pointer() and load_pointer() in net/core/filter.c; kernel 2.6.14 Kris Katterjohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox