Page MenuHomeFreeBSD

arm64: Increase dmap size to 95 TiB

Authored by scottph on Aug 20 2020, 6:59 AM.



The Ampere Altra has physical memory populated sparsely within the
physical address space. Increase the size of the dmap to cover all
physical memory.

MFC after: 1 week
Sponsored by: Ampere Computing, Inc.

Diff Detail

rS FreeBSD src repository - subversion
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Reviews D26128, D26129, D26130, D26131, D26132, D26133 deal with various arrays that explode in size when the last physical address becomes really huge.

We only map physical memory that exists, so this shouldn't cause a problem on existing systems.

This revision is now accepted and ready to land.Aug 20 2020, 7:35 AM
This revision was automatically updated to reflect the committed changes.