To minimise NUMA traffic allocate the pcpu, dpcpu, and boot stacks in
the correct domain when possible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 42001 Build 38889: arc lint + arc unit
Event Timeline
sys/arm64/arm64/mp_machdep.c | ||
---|---|---|
518 | FWIW, there is no benefit to allocating domain-local boot stacks, they are used only in the window after the AP starts and before it switches to a thread. |
sys/arm64/arm64/mp_machdep.c | ||
---|---|---|
518 | I mostly did it for consistency. |
sys/arm64/arm64/machdep.c | ||
---|---|---|
1363 | We assume that .bss is allocated from the domain to which the BSP belongs. That's probably true in practice though, at least amd64 makes a similar assumption when it allocates the pcpu area in pmap_bootstrap(). |