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)
Sat, Jan 18, 9:22 AM
Unknown Object (File)
Thu, Jan 16, 8:28 PM
Unknown Object (File)
Dec 15 2024, 9:19 AM
Unknown Object (File)
Dec 15 2024, 9:18 AM
Unknown Object (File)
Dec 12 2024, 7:34 PM
Unknown Object (File)
Dec 11 2024, 11:20 PM
Unknown Object (File)
Nov 26 2024, 9:29 PM
Unknown Object (File)
Nov 15 2024, 4:04 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable