Linus Torvalds writes: (Summary) On Mon, Jul 9, 2018 at 10:28 AM Mathieu Desnoyers
<mathieu.desnoyers@efficios.com> But when I started looking, it turns out that yeah, we do "copy_from_user()" on them, and instead made the x86 copy_from_user() have special cases for constant sizes.
have special cases for constant sizes.
So a 8-byte copy_from_user() is fine. It ends up being a "get_user()" on x86 anyway.
on x86 anyway.
Linus
Linus
Linus
<mathieu.desnoyers@efficios.com> But when I started looking, it turns out that yeah, we do "copy_from_user()" on them, and instead made the x86 copy_from_user() have special cases for constant sizes.
have special cases for constant sizes.
So a 8-byte copy_from_user() is fine. It ends up being a "get_user()" on x86 anyway.
on x86 anyway.
Linus
Linus
Linus