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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable