Re: [RFC 0/2] __vdso_findsym

Andy Lutomirski
2014-06-15T06:50:17Z

On Sat, Jun 14, 2014 at 8:59 PM, H. Peter Anvin <hpa@zytor.com> wrote:
> On 06/14/2014 04:36 PM, H. Peter Anvin wrote:
>>
>> 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.
>>
>
> (If it isn't already the case, was inteded to be part of that...)

It's down to 375 bytes now. I'm not sure how to do better than that
without starting to hardcode variously nasty assumptions.

With CONFIG_PARAVIRT_CLOCK=y I think the 64-bit vdso is two pages
anyway. With CONFIG_PARAVIRT_CLOCK=n, it's one page even with my
code.

(At some point I plan on tackling the paravirt clock code. It's much
more complicated and much slower than it needs to be.)

--Andy