lkml.org 
[lkml]   [2002]   [Jan]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 29 Jan 2002 11:53:47 +1100
FromRusty Russell <>
SubjectRe: [PATCH] syscall latency improvement #1
On Mon, 28 Jan 2002 02:30:04 -0800
Andrew Morton <akpm@zip.com.au> wrote:

> Denis Vlasenko wrote:
> > 
> > > <thinks of another>
> > >
> > >       s/inline//g
> > 
> > I like this.
> 
> Well, it's a fairly small optimisation, but it's easy.
> 
> I did a patch a while back:  http://www.zip.com.au/~akpm/linux/2.4/2.4.17-pre1/inline.patch
> This is purely against core kernel files:

You *really* want to do the headers, too.  As a hack you could move all the
inlines into kernel/inline.c, and see what happens then.

It's the headers that make it messy as a config option (you don't want
non-inline functions in your .h file, because having multiple copies loses
the cache advantatge.

Rusty.
-- 
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:15    [from the cache]
©2003-2008