Linus Torvalds writes: (Summary) On Thu, Jan 25, 2018 at 1:39 PM, Dan Williams <dan.j.williams@intel.com> You can just clear all of them.
Sure, then do_syscall_64() will reload the six first ones, but since those are the argument registers anyway, and since they are caller-clobbered, they have very short lifetimes. So it would effectively not really be an issue.
effectively not really be an issue.
But yes, SYSCALL_DEFINEx() rejiggery would close even that tiny hole. Linus
Linus
Linus
Sure, then do_syscall_64() will reload the six first ones, but since those are the argument registers anyway, and since they are caller-clobbered, they have very short lifetimes. So it would effectively not really be an issue.
effectively not really be an issue.
But yes, SYSCALL_DEFINEx() rejiggery would close even that tiny hole. Linus
Linus
Linus