powerpc/signal64: Rewrite handle_rt_signal64() to minimise uaccess switches
Add uaccess blocks and use the 'unsafe' versions of functions doing user access where possible to reduce the number of times uaccess has to be opened/closed. There is no 'unsafe' version of copy_siginfo_to_user, so move it slightly to allow for a "longer" uaccess block. Co-developed-by:Christopher M. Riedl <cmr@codefail.de> Signed-off-by:
Daniel Axtens <dja@axtens.net> Signed-off-by:
Christopher M. Riedl <cmr@codefail.de> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210227011259.11992-9-cmr@codefail.de
Showing
Please register or sign in to comment