HomeFreeBSD

x86/mp: don't create empty cpu groups

Description

x86/mp: don't create empty cpu groups

When some APICs are disabled by tunables, some cpu groups could end up
empty. An empty cpu group causes the system to panic because not all
functions handle them correctly. Additionally, it's wasted time to
handle and inspect empty cpu groups. Therefore, just don't create them.

Reviewed by: kib, avg, cem
Sponsored by: Beckhoff Automation GmbH & Co. KG
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24927

(cherry picked from commit 7468332f5518c1a725cd0067c35490f82ef781bd)

Details

Provenance
corvinkAuthored on May 30 2022, 9:19 AM
emasteCommitted on Sep 29 2022, 7:58 PM
Reviewer
kib
Differential Revision
D24927: x86/mp: don't create empty cpu groups
Parents
rG6958ee33b742: ldd: remove '[preloaded]' marker for the preloaded objects
Branches
Unknown
Tags
Unknown