freebsd-nq/sys/amd64
Jason A. Harmening e4b8deb222 amd64 pmap: convert to counter(9), add PV and pagetable page counts
This change converts most of the counters in the amd64 pmap from
global atomics to scalable counter(9) counters.  Per discussion
with kib@, it also removes the handrolled per-CPU PCID save count
as it isn't considered generally useful.

The bulk of these counters remain guarded by PV_STATS, as it seems
unlikely that they will be useful outside of very specific debugging
scenarios.  However, this change does add two new counters that
are available without PV_STATS.  pt_page_count and pv_page_count
track the number of active physical-to-virtual list pages and page
table pages, respectively.  These will be useful in evaluating
the memory footprint of pmap structures under various workloads,
which will help to guide future changes in this area.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D28923
2021-03-09 09:27:10 -08:00
..
acpica acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
amd64 amd64 pmap: convert to counter(9), add PV and pagetable page counts 2021-03-09 09:27:10 -08:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
cloudabi64 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf smbios: Move smbios driver out from x86 machdep code 2021-02-23 21:17:09 +00:00
ia32 Improve FPU Tag Word reconstruction on i386 to indicate register states. 2020-10-21 00:15:12 +00:00
include amd64 pmap: convert to counter(9), add PV and pagetable page counts 2021-03-09 09:27:10 -08:00
linux linux: Unmap the VDSO page when unloading 2021-02-16 09:40:02 -05:00
linux32 linux: Unmap the VDSO page when unloading 2021-02-16 09:40:02 -05:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm bhyve/ioapic: improve the tracking of IRR bit 2021-02-02 09:47:00 +01:00
Makefile