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

Details

Provenance
corvinkAuthored on May 30 2022, 9:19 AM
manuCommitted on May 30 2022, 9:21 AM
Reviewer
kib
Differential Revision
D24927: x86/mp: don't create empty cpu groups
Parents
rG3ba952e1a217: vmm: add tunable to trap WBINVD
Branches
Unknown
Tags
Unknown