Re: [RFC] Improve memset

From: Borislav Petkov
Date: Fri Sep 13 2019 - 03:50:12 EST


On Fri, Sep 13, 2019 at 09:35:30AM +0200, Ingo Molnar wrote:
> That looks exciting - I'm wondering what effects this has on code
> footprint - for example defconfig vmlinux code size, and what the average
> per call site footprint impact is?
>
> If the footprint effect is acceptable, then I'd expect this to improve
> performance, especially in hot loops.

Well, it grows a bit but that's my conglomerate ugly patch so I'll redo
that test when I've cleaned it up:

text data bss dec hex filename
19699924 5201260 1642568 26543752 1950688 vmlinux.before
19791674 5201388 1552456 26545518 1950d6e vmlinux.after

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette