HomeFreeBSD

Remove a couple of lingering usages of the page lock.

Description

Remove a couple of lingering usages of the page lock.

Update vm_page_scan_contig() and vm_page_reclaim_run() to stop using
vm_page_change_lock(). It has no use after r356157. Remove
vm_page_change_lock() now that it has no users.

Remove an unncessary check for wirings in vm_page_scan_contig(), which
was previously checking twice. The check is racy until
vm_page_reclaim_run() ensures that the page is unmapped, so one check is
sufficient.

Reviewed by: jeff, kib (previous versions)
Tested by: pho (previous version)
Differential Revision: https://reviews.freebsd.org/D23279

Details

Provenance
markjAuthored on
Reviewer
jeff
Differential Revision
D23279: Remove some lingering page lock usages.
Parents
rS357373: intel_hwpstate(4): Use identcpu-cached cpuid 6 leaf
Branches
Unknown
Tags
Unknown