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)
Fri, Nov 15, 4:04 PM
Unknown Object (File)
Oct 18 2024, 10:11 AM
Unknown Object (File)
Oct 1 2024, 1:50 PM
Unknown Object (File)
Sep 24 2024, 4:22 PM
Unknown Object (File)
Sep 15 2024, 10:36 PM
Unknown Object (File)
Sep 15 2024, 10:36 PM
Unknown Object (File)
Sep 15 2024, 10:36 PM
Unknown Object (File)
Sep 15 2024, 10:24 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