HomeFreeBSD

Sparsify the vm_page_dump bitmap

Description

Sparsify the vm_page_dump bitmap

On Ampere Altra systems, the sparse population of RAM within the
physical address space causes the vm_page_dump bitmap to be much
larger than necessary, increasing the size from ~8 Mib to > 2 Gib
(and overflowing int for the size).

Changing the page dump bitmap also changes the minidump file
format, so changes are also necessary in libkvm.

Reviewed by: jhb
Approved by: scottl (implicit)
MFC after: 1 week
Sponsored by: Ampere Computing, Inc.
Differential Revision: https://reviews.freebsd.org/D26131

Details

Provenance
scottphAuthored on
Reviewer
jhb
Differential Revision
D26131: Sparsify the vm_page_dump bitmap
Parents
rS365977: Move vm_page_dump bitset array definition to MI code
Branches
Unknown
Tags
Unknown