mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
/proc/cpuinfo represents online CPUs only, and the number of CPUs is limited by the 'maxcpus' option. /sys/devices/system/cpu/possible is a better option for our purpose since it represents the possible CPUs that can ever be available in the system, including the offline CPUs. And it's not limited by 'maxcpus'. Though the Linux command line parameter nr_cpus and possible_cpus still have impact on /sys/devices/system/cpu/possible. Tracked-On: #3854 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
6.0 KiB
6.0 KiB