]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make it possible to disable NUMA support with a tunable.
authorMark Johnston <markj@FreeBSD.org>
Mon, 22 Oct 2018 20:13:51 +0000 (20:13 +0000)
committerMark Johnston <markj@FreeBSD.org>
Mon, 22 Oct 2018 20:13:51 +0000 (20:13 +0000)
commitb61f31429050a1769cd01ca74a6136691f81eebb
treef80917c35ab077d3ecc375143983ed070bf2d2b8
parenta7d9306a40a7cfd6f82191559b99731cf3dc7f1a
Make it possible to disable NUMA support with a tunable.

This provides a chicken switch for anyone negatively impacted by
enabling NUMA in the amd64 GENERIC kernel configuration.  With
NUMA disabled at boot-time, information about the NUMA topology
is not exposed to the rest of the kernel, and all of physical
memory is viewed as coming from a single domain.

This method still has some performance overhead relative to disabling
NUMA support at compile time.

PR: 231460
Reviewed by: alc, gallatin, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D17439
share/man/man4/numa.4
sys/arm64/arm64/mp_machdep.c
sys/kern/kern_cpuset.c
sys/vm/vm_phys.c
sys/x86/acpica/srat.c