freebsd-skq/lib/libkvm
D Scott Phillips 00e6614750 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
2020-09-21 22:21:59 +00:00
..
tests test: add libkvm read test 2020-07-08 18:58:44 +00:00
kvm_aarch64.h Chase r350037. 2019-07-16 16:02:20 +00:00
kvm_amd64.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_amd64.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_arm.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_arm.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_cptime.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_getcptime.3
kvm_geterr.3
kvm_getloadavg.3
kvm_getloadavg.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_getpcpu.3
kvm_getprocs.3
kvm_getswapinfo.3 Fix copy/paste mistake in kvm_getswapinfo(3) 2020-06-25 20:04:35 +00:00
kvm_getswapinfo.c Remove swblk_t. 2020-02-17 15:11:07 +00:00
kvm_i386.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_i386.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_kerndisp.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_minidump_aarch64.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_amd64.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_arm.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_i386.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_mips.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_powerpc64_hpt.c [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_minidump_powerpc64.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_minidump_riscv.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_mips.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_native.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_nlist.3
kvm_open.3
kvm_pcpu.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_powerpc64.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_powerpc64.h [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_powerpc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_private.c Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_private.h Sparsify the vm_page_dump bitmap 2020-09-21 22:21:59 +00:00
kvm_proc.c Add support for ps -H on corefiles in libkvm 2019-09-22 13:56:27 +00:00
kvm_read.3
kvm_riscv.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_vnet.c Partially revert VNET change and expand VNET structure. 2020-02-17 11:08:50 +00:00
kvm.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm.c Partially revert VNET change and expand VNET structure. 2020-02-17 11:08:50 +00:00
kvm.h Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
Makefile Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00