Page MenuHomeFreeBSD

Perform TLB invalidation before acquiring the PV list lock in pmap_enter()
ClosedPublic

Authored by alc on Jan 3 2020, 8:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 6:41 AM
Unknown Object (File)
Dec 18 2023, 3:22 PM
Unknown Object (File)
Dec 11 2023, 1:53 AM
Unknown Object (File)
Nov 8 2023, 1:49 PM
Unknown Object (File)
Nov 7 2023, 9:05 PM
Unknown Object (File)
Nov 7 2023, 6:28 PM
Unknown Object (File)
Oct 7 2023, 12:44 PM
Unknown Object (File)
Oct 6 2023, 7:50 PM
Subscribers

Details

Summary

When a copy-on-write fault occurs, pmap_enter() is called to replace the mapping to the old read-only page with a mapping to the new read-write page. To destroy the old mapping, pmap_enter() destroys its page table and PV entries and invalidates its TLB entry. This change is intended to reduce the time that the PV list lock is held by performing the TLB invalidation a little earlier, in particular, before the PV list lock is acquired.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped