Quantcast
Channel: lkml.org : Vaidyanathan Srinivasan
Viewing all articles
Browse latest Browse all 890

Re: [RFC PATCH for 4.18 3/5] rseq: uapi: declare rseq_cs field as ...

$
0
0
Linus Torvalds writes: (Summary) On Fri, Jul 6, 2018 at 12:23 PM Mathieu Desnoyers
<mathieu.desnoyers@efficios.com> Thoughts ?
Please just use "get_user()".
Please just use "get_user()".
In fact, we should be thinking seriosly about just removing __get_user() entirely. These days the expensive parts are the SMAP costs, and both get_user() and __get_user() have those, except get_user() is safer and doesn't waste I$ on inlining the code to disable and re-enable SMAP.
disable and re-enable SMAP.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 890

Trending Articles