Fix the comment since vmalloc_fault doesn't reach flush_tlb_fix_spurious_fault.
Unified · Split
| @@ -272,9 +272,6 @@ vmalloc_fault: · 271 unmodified lines | ||
| 272 | 272 | * entries, but in RISC-V, SFENCE.VMA specifies an |
| 273 | 273 | * ordering constraint, not a cache flush; it is |
| 274 | 274 | * 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. | |
| 278 | 275 | */ |
| 279 | 276 | local_flush_tlb_page(addr); |
| 280 | 277 | |