From: ShihPo Hung Date: Tue, 18 Jun 2019 09:39:15 +0000 (+0800) Subject: riscv: mm: Fix code comment X-Git-Tag: v5.4-rc1~731^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0db7f5cd4aeba4cc63d0068598b3350eba8bb4cd;p=platform%2Fkernel%2Flinux-rpi.git riscv: mm: Fix code comment Fix the comment since vmalloc_fault doesn't reach flush_tlb_fix_spurious_fault. Signed-off-by: ShihPo Hung Cc: Palmer Dabbelt Cc: Albert Ou Cc: Paul Walmsley Cc: linux-riscv@lists.infradead.org Reviewed-by: Palmer Dabbelt Signed-off-by: Paul Walmsley --- diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c index 3e2708c..f960c3f 100644 --- a/arch/riscv/mm/fault.c +++ b/arch/riscv/mm/fault.c @@ -272,9 +272,6 @@ vmalloc_fault: * entries, but in RISC-V, SFENCE.VMA specifies an * ordering constraint, not a cache flush; it is * necessary even after writing invalid entries. - * Relying on flush_tlb_fix_spurious_fault would - * suffice, but the extra traps reduce - * performance. So, eagerly SFENCE.VMA. */ local_flush_tlb_page(addr);