Re: [RFC 0/2] __vdso_findsym

From: Andy Lutomirski
Date: Sun Jun 15 2014 - 02:50:26 EST


On Sat, Jun 14, 2014 at 8:59 PM, H. Peter Anvin <hpa@xxxxxxxxx> 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
--
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/