summaryrefslogtreecommitdiff
path: root/sys/amd64/include/gdb_machdep.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-12-18 16:04:48 +0000
committerMark Johnston <markj@FreeBSD.org>2020-12-18 16:04:48 +0000
commit0f8b212a1e41d6eabf2a17442bcbe4f128f023f8 (patch)
tree4c22c04d9085aa0d6db60658b7f9ff554e03dcd3 /sys/amd64/include/gdb_machdep.h
parent5120612664fbc54d69ee1a21d0abcbab58712709 (diff)
downloadsrc-test2-0f8b212a1e41d6eabf2a17442bcbe4f128f023f8.tar.gz
src-test2-0f8b212a1e41d6eabf2a17442bcbe4f128f023f8.zip
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
Notes
Notes: svn path=/head/; revision=368763
Diffstat (limited to 'sys/amd64/include/gdb_machdep.h')
0 files changed, 0 insertions, 0 deletions