freebsd-skq/sys/dev/acpica
Mark Johnston 0f8b212a1e acpi: Ensure that adjacent memory affinity table entries are coalesced
The SRAT may contain multiple distinct entries that together describe a
contiguous region of physical memory.  In this case we were not
coalescing the corresponding entries in the memory affinity table, which
led to fragmented phys_avail[] entries.  Since r338431 the vm_phys_segs[]
entries derived from phys_avail[] will be coalesced, resulting in a
situation where vm_phys_segs[] entries do not have a covering
phys_avail[] entry.  vm_page_startup() will not add such segments to the
physical memory allocator, leaving them unused.

Reported by:	Don Morris <dgmorris@earthlink.net>
Reviewed by:	kib, vangyzen
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27620
2020-12-18 16:04:48 +00:00
..
Osd
acpi_acad.c acpi(9): Add EVENTHANDLERs for video and AC adapter events. 2020-10-31 20:14:28 +00:00
acpi_apei.c
acpi_battery.c
acpi_bus_if.m
acpi_button.c
acpi_cmbat.c
acpi_container.c
acpi_cpu.c
acpi_dock.c acpi_dock(4): Add ACPI_PNP_INFO 2020-10-31 22:20:42 +00:00
acpi_ec.c
acpi_hpet.c
acpi_hpet.h
acpi_if.m
acpi_isab.c
acpi_lid.c
acpi_package.c
acpi_pci_link.c
acpi_pci.c
acpi_pcib_acpi.c
acpi_pcib_pci.c
acpi_pcib.c
acpi_pcibvar.h
acpi_pcivar.h
acpi_perf.c
acpi_powerres.c
acpi_pxm.c acpi: Ensure that adjacent memory affinity table entries are coalesced 2020-12-18 16:04:48 +00:00
acpi_quirk.c
acpi_quirks
acpi_resource.c acpi_resource: support multiple IRQs 2020-09-30 17:09:17 +00:00
acpi_smbat.c
acpi_smbus.h
acpi_thermal.c
acpi_throttle.c
acpi_timer.c
acpi_video.c acpi_video(4): Put display device in to D3 state on "Display off" event. 2020-10-31 20:28:13 +00:00
acpi.c [arm64] Parse ACPI _PXM property on ARM64 platform 2020-12-01 20:27:06 +00:00
acpiio.h
acpivar.h Add plug and play information macroses for ACPI and I2C buses. 2020-10-31 22:15:59 +00:00