HomeFreeBSD

Call acpi_pxm_set_proximity_info() slightly earlier on x86.

Description

Call acpi_pxm_set_proximity_info() slightly earlier on x86.

This function is responsible for setting pc_domain in each pcpu
structure. Call it from the main function that starts APs, rather than
a separate SYSINIT. This makes it easier to close the window where
UMA's per-CPU slab allocator may be called while pc_domain is
uninitialized. In particular, the allocator uses pc_domain to allocate
domain-local pages, so allocations before this point end up using domain
0 for everything.

Reviewed by: kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D24757

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D24757: Call acpi_pxm_set_proximity_info() slightly earlier.
Parents
rS361032: Allocate UMA per-CPU counters earlier.
Branches
Unknown
Tags
Unknown