This series adds few optimizations to reduce the trap cost in the tlb flush path. We should only make SBI calls to remote tlb flush only if absolutely required.
This series is based on Christoph's series: http://lists.infradead.org/pipermail/linux-riscv/2019-August/006148.html Changes from v2->v3: 1. Split the patches into smaller one per optimization. Atish Patra (3): RISC-V: Issue a local tlbflush if possible. RISC-V: Issue a tlb page flush if possible RISC-V: Do not invoke SBI call if cpumask is empty arch/riscv/mm/tlbflush.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) -- 2.21.0

