mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
4026b44790
vmpage requires struct pmap to exist and contain a pm_stats field. As of r308817, either AIM or BOOKE is required to be set in order to get their respective pmap structs. Rather than expose them both, or try to unify them unnecessarily, add a third option which contains only a pm_stats field, and change the two existing pmap structures to place the common fields at the beginning of the struct. This actually fixes the stats collection by libkvm on AIM hardware, because before it was accessing a possibly different offset, which would cause it to read garbage. Bump __FreeBSD_version to denote this ABI change, so that ports which depend on libkvm can be rebuilt. |
||
---|---|---|
.. | ||
libmemstat.3 | ||
Makefile | ||
Makefile.depend | ||
memstat_all.c | ||
memstat_internal.h | ||
memstat_malloc.c | ||
memstat_uma.c | ||
memstat.c | ||
memstat.h |