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 | * entries, but in RISC-V, SFENCE.VMA specifies an | 272 | * entries, but in RISC-V, SFENCE.VMA specifies an |
| 273 | * ordering constraint, not a cache flush; it is | 273 | * ordering constraint, not a cache flush; it is |
| 274 | * necessary even after writing invalid entries. | 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 | local_flush_tlb_page(addr); | 276 | local_flush_tlb_page(addr); |
| 280 | 277 | ||