Re: [3.1 patch] x86: default to vsyscall=native

From: Linus Torvalds
Date: Thu Oct 06 2011 - 14:35:08 EST


On Thu, Oct 6, 2011 at 11:16 AM, Andrew Lutomirski <luto@xxxxxxx> wrote:
>
> Fixing it will be annoying because the attached fancier version needs
> to work, too.  I could implement the whole mess in software, but it
> might be nicer to arrange for uaccess errors to stash some information
> somewhere (like in the thread_struct cr2 variable).

That should be easy enough to do. Just add it to the
"fixup_exception()" case in no_context().

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