aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChristopher M. Riedl <[email protected]>2021-02-26 19:12:55 -0600
committerMichael Ellerman <[email protected]>2021-03-29 12:49:47 +1100
commit7bb081c8f043ab166f8c6f26fca744821217dad7 (patch)
treeb1f248e8daa0aa35ea73d7bf674c2a22723ae0b6 /tools/perf/scripts/python/bin
parent2d19630e20fe5fbd5813f73fd5b1c81ddec61369 (diff)
powerpc/signal64: Replace setup_sigcontext() w/ unsafe_setup_sigcontext()
Previously setup_sigcontext() performed a costly KUAP switch on every uaccess operation. These repeated uaccess switches cause a significant drop in signal handling performance. Rewrite setup_sigcontext() to assume that a userspace write access window is open by replacing all uaccess functions with their 'unsafe' versions. Modify the callers to first open, call unsafe_setup_sigcontext() and then close the uaccess window. Signed-off-by: Christopher M. Riedl <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions