Re: out-of-line x86 "put_user()" implementation

From: Pavel Machek
Date: Tue Feb 08 2005 - 14:02:39 EST


Hi!

> > boots fine and shrinks the image size quite noticeably:
> >
> > [Nr] Name Type Addr Off Size
> > [ 1] .text PROGBITS c0100000 001000 2771a9 [vmlinux-orig]
> > [ 1] .text PROGBITS c0100000 001000 2742dd [vmlinux-patched]
> >
> > that's 11980 bytes off a 2585001 bytes .text, a 0.5% size reduction.
> > This patch we want ...
>
> Goodie. Here's a slightly more recent version, where I cleaned up the
> assembly code (no need to save %ecx if we just update %ebx instead, which
> makes the code a bit more readable too - and doing it this way should
> hopefully make it easier for an out-of-order CPU to start the memops
> earlier too. Who knows..)
>
> I'm not going to put this into 2.6.11, since I worry about compiler
> interactions, but the more people who test it anyway, the better.

Put it in -mm tree :-)))
Pavel

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/