Re: [RFC 0/2] __vdso_findsym

H. Peter Anvin
2014-06-14T23:36:43Z

On 06/14/2014 03:38 PM, Andy Lutomirski wrote:
>
> Hmm. I hadn't thought of this as a size win, but I guess it could be
> if there are static binaries around.
>

That pretty much *is* the win, because this is in effect treating the
kernel vdso as a shared library.

> This patch currently generates 488 bytes on text with my toolchain.
> More than half of that is garbage needed to deal with the symbol
> version tables, and I should be able to move a decent fraction of it
> to vdso2c and therefore out of the kernel and vdso images.

Now, if we can do this without adding another page then that becomes
much more compelling IMO. I suspect we can if you are already down to
488 bytes.

-hpa