HomeFreeBSD

arm64: set ATTR_CONTIGUOUS on the DMAP's L2 blocks

Description

arm64: set ATTR_CONTIGUOUS on the DMAP's L2 blocks

On systems configured with 16KB pages, this change creates 1GB page
mappings in the direct map where possible. Previously, the largest page
size that was used to implement the direct map was 32MB. Similarly, on
systems configured with 4KB pages, this change creates 32MB page
mappings, instead of 2MB, in the direct map where 1GB is too large.

Implement demotion on L2C (32MB/1GB) page mappings within the DMAP.

Update sysctl vm.pmap.kernel_maps to report on L2C page mappings.

Reviewed by: markj
Tested by: gallatin, Eliot Solomon <ehs3@rice.edu>
Differential Revision: https://reviews.freebsd.org/D45224

Details

Provenance
alcAuthored on May 13 2024, 6:39 AM
Reviewer
markj
Differential Revision
D45224: arm64: Set ATTR_CONTIGUOUS on DMAP's L2 blocks
Parents
rG425a7bc465d4: sound: Fix minchn, maxchn and fmts in sndstat_get_caps()
Branches
Unknown
Tags
Unknown