When some APICs are disabled by tunables, some cpu groups could end upnodes can end up with an empty
emptycpuset. An empty cpu group causes the system to panic because not allNodes with an emtpy cpuset will be translated into cpu groups
functions handle them correctly. Additionally,with emtpy cpusets. it's wasted time tosmp_topo_fill will then set cg_first and cg_last to
handle and inspect empty cpu groups-1. This isn't correctly handled in all functions. E.g. when
cpu_search_lowest and cpu_search_highest loop through all cpus, thay
call CPU_ISSET on cpu -1 which ends up in a general protection fault.
We could fix the scheduler to handle empty cpu groups correctly.
Nevertheless, empty cpu groups are causing overhead for no value. ThereforeSo, it
makes more sense to just don't create them.