Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: clang asm-goto support (Was Re: [PATCH v2] x86/retpoline: Add ...

$
0
0
Linus Torvalds writes: (Summary) wrote:

[...]

do runtime branch patching.
Side note: I have a patch to the user access code to do "asm goto" for the exception handling too.
the exception handling too.
In fact, the infrastructure is there already, but because we supported older gcc versions that didn't have asm goto, I never applied the final patch to actually make use of it.
final patch to actually make use of it.
See "unsafe_put_user()", which currently does See "unsafe_put_user()", which currently does
        if (unlikely(__pu_err)) goto err_label;

Viewing all articles
Browse latest Browse all 1267

Trending Articles