commit | 93c043e393af7fa218c928d8c62396ba28f1bb84 | [log] [tgz] |
---|---|---|
author | Christophe Leroy <christophe.leroy@csgroup.eu> | Wed Mar 10 17:57:07 2021 +0000 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Fri Mar 26 23:19:43 2021 +1100 |
tree | f6abc072be71a0edc7a4b6360c1783c5379221cc | |
parent | 870779f40e99c795ddfafa0dfc43318e51f15127 [diff] |
powerpc/ptrace: Convert gpr32_set_common() to user access block Use user access block in gpr32_set_common() instead of repetitive __get_user() which imply repetitive KUAP open/close. To get it clean, force inlining of the small set of tiny functions called inside the block. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/bdcb8652c3bb4ab5b8b3bfd08147434be8fc04c9.1615398498.git.christophe.leroy@csgroup.eu