Re: [RFC 0/2] __vdso_findsym

From: H. Peter Anvin
Date: Sat Jun 14 2014 - 19:36:46 EST


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


--
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/