HomeFreeBSD

Correct page frame mask constant used in pmap_change_attr_locked

Description

Correct page frame mask constant used in pmap_change_attr_locked

This was introduced in r290156. It's present in 11.0, but not any 10.x
release unless someone decided to MFC it.

It affects ordinary pages right above the DMAP limit, which is effectively
system memory rounded up to a 1 GB (3rd level superpage) boundary (or up to
a minimum of 4 GB, on small systems).

Reported by: vangyzen
Reviewed by: kib, alc
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D4030

Details

Provenance
cemAuthored on
Reviewer
kib
Differential Revision
D4030: pmap_change_attr: Only fixup DMAP for DMAPed ranges
Parents
rS318353: Avoid use of contiguous memory allocations in busdma when possible.
Branches
Unknown
Tags
Unknown