pcpu_page_alloc: guard against empty NUMA domains
authorgallatin <gallatin@FreeBSD.org>
Sat, 18 Jan 2020 18:25:37 +0000 (18:25 +0000)
committergallatin <gallatin@FreeBSD.org>
Sat, 18 Jan 2020 18:25:37 +0000 (18:25 +0000)
commit4677642250ed4ae79b8b8c99eed34a07c3600233
tree5ebd45a54c94e5ac13cceec0fff4485b1fdcddaf
parent26e153a7bbcca60426f9e8759d0123c3ef9b62d3
pcpu_page_alloc: guard against empty NUMA domains

Some systems, such as higher end Threadripper, may have
NUMA domains with no physical memory, Don't allocate
from these domains.

This fixes a "panic: vm_wait in early boot" on my 2990WX desktop

Reviewed by: jeff
Sponsored by: Netflix
sys/vm/uma_core.c