History

riscv: mm: Fix code comment

Fix the comment since vmalloc_fault doesn't reach flush_tlb_fix_spurious_fault.

ShihPo Hung committed 7 years ago

Commit 0db7f5c1 parent e3f9dad1 file · +0 −3Browse files

Unified · Split

arch/riscv/mm/fault.c+0−3
@@ -272,9 +272,6 @@ vmalloc_fault: · 271 unmodified lines
272272 * entries, but in RISC-V, SFENCE.VMA specifies an
273273 * ordering constraint, not a cache flush; it is
274274 * necessary even after writing invalid entries.
275− * Relying on flush_tlb_fix_spurious_fault would
276− * suffice, but the extra traps reduce
277− * performance. So, eagerly SFENCE.VMA.
278275 */
279276 local_flush_tlb_page(addr);
280277