Re: New vsyscall emulation breaks JITs

From: Andi Kleen
Date: Fri Aug 05 2011 - 16:52:29 EST


On Fri, Aug 05, 2011 at 01:48:28PM -0700, H. Peter Anvin wrote:
> On 08/05/2011 01:45 PM, Andrew Lutomirski wrote:
> >
> > hpa: time is supported (as of 3.0) by the vdso, and very new glibc
> > uses the vdso version. We could add a native time implementation back
> > to the vsyscall page without too much pain as a short-term fix, but
> > that would be less than ideal.
> >
>
> How new does glibc have to be?

Mine from May 17 doesn't support it.

> How much of a pain would it be to make the legacy vs emulated vsyscall
> page a config option?

CONFIG_DONT_BREAK_MY_BINARIES?

If anything runtime, but really for me it looks like the vsyscall
changes should be only in one of those limited compability paranoia
patchkits.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/