summaryrefslogtreecommitdiffstats
path: root/arch/riscv/mm
diff options
context:
space:
mode:
authorShihPo Hung2019-06-18 11:39:15 +0200
committerPaul Walmsley2019-06-27 00:10:30 +0200
commit0db7f5cd4aeba4cc63d0068598b3350eba8bb4cd (patch)
treef8e41ececf51961446756ab84ee9f4cc41ee1df4 /arch/riscv/mm
parentdt-bindings: clock: sifive: add MIT license as an option for the header file (diff)
downloadkernel-qcow2-linux-0db7f5cd4aeba4cc63d0068598b3350eba8bb4cd.tar.gz
kernel-qcow2-linux-0db7f5cd4aeba4cc63d0068598b3350eba8bb4cd.tar.xz
kernel-qcow2-linux-0db7f5cd4aeba4cc63d0068598b3350eba8bb4cd.zip
riscv: mm: Fix code comment
Fix the comment since vmalloc_fault doesn't reach flush_tlb_fix_spurious_fault. Signed-off-by: ShihPo Hung <shihpo.hung@sifive.com> Cc: Palmer Dabbelt <palmer@sifive.com> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: linux-riscv@lists.infradead.org Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/mm')
-rw-r--r--arch/riscv/mm/fault.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/riscv/mm/fault.c b/arch/riscv/mm/fault.c
index 3e2708c626a8..f960c3f4ce47 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);