Re: [patch v2 14/30] x86/cpu/topology: Rework possible CPU management
From: Sohil Mehta
Date: Wed Jan 31 2024 - 18:47:27 EST
On 1/23/2024 5:11 AM, Thomas Gleixner wrote:
> + pr_info("Allowing %u present CPUs plus %u hotplug CPUs\n", assigned, disabled);
> + if (topo_info.nr_rejected_cpus)
> + pr_info("Rejected CPUs %u\n", topo_info.nr_rejected_cpus);
> +
I encountered the same issue that Micheal mentions in the other thread.
This is how the messages show up in a 40-cpu system with:
nr_cpus=2 (correct)
-------------------
CPU topo: Allowing 2 present CPUs plus 0 hotplug CPUs
CPU topo: Rejected CPUs 38
nr_cpus=1 (incorrect)
---------------------
CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs
CPU topo: Rejected CPUs 40
Sohil