summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/signal.c
diff options
context:
space:
mode:
authorJisheng Zhang <jszhang@kernel.org>2021-05-12 01:42:31 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-05-25 22:50:52 -0700
commit8237c5243a614d33fe339bc844f90aa2b393c2a8 (patch)
treef74de6d33829e5c0d2163c8d11c23ab01ba410da /arch/riscv/kernel/signal.c
parent50bae95e17c6dd0b7a2a3a92ad8808067234e9ef (diff)
riscv: Optimize switch_mm by passing "cpu" to flush_icache_deferred()
Directly passing the cpu to flush_icache_deferred() rather than calling smp_processor_id() again. Signed-off-by: Jisheng Zhang <jszhang@kernel.org> [Palmer: drop the QEMU performance numbers, and update the comment] Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/kernel/signal.c')
0 files changed, 0 insertions, 0 deletions