Re: [RFC][PATCH 01/22] x86 user stack frame reads: switch to explicit __get_user()
From: Linus Torvalds
Date: Sun Mar 29 2020 - 18:16:57 EST
On Sun, Mar 29, 2020 at 3:06 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Anyway, just in case people want to see it, I'm attaching my current
> unconditional patch.
Side note: I've actually been running variations of this patch for a
couple of months now, so it's even tested, but I debugged one of the
problems with the clang asm goto support it exposed only this last
week. I thought it was a problem with my patch for the longest time,
and couldn't figure it out.
So to work it needs tip-of-tree clang *and* an additional llvm bugfix
from Nick Desaulniers for that problem I reported that hasn't landed
yet.
So I included that patch just for people to look at. If you actually
want to test it, I can send you Nick's llvm fix too, and you need to
have the ability to build your own clang.
Linus