Re: [PATCH] syscall latency improvement #1

Rusty Russell
2002-01-29T00:53:41Z

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.