HomeFreeBSD

Always call PHYS_TO_VM_PAGE() in is_managed(). Fast road for addresses

Description

Always call PHYS_TO_VM_PAGE() in is_managed(). Fast road for addresses
under first_page cannot be taken as this variable is connected only to
vm_page_array segment. There could be more segments in system like
the ones for various fictitious page ranges. These can be situated
under vm_page_array segment and so, they could be skipped before this
fix. However, as far as I know, there is no report associated with it.

While here, the return type of this function is changed from boolean_t
to bool type.

Reviewed by: kib
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D8502

Details

Committed
skraNov 12 2016, 5:03 PM
Reviewer
kib
Differential Revision
D8502: ARMv6 pmap - fix the way how a decision is made that a page is under pv management
Parents
rS308568: Set of improvements to acpi_hp(4) driver.
Branches
Unknown
Tags
Unknown