Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

lib/cpumask: delete misleading comment

The comment says that HOTPLUG config option enables all cpus in
cpu_possible_mask up to NR_CPUs. This is wrong. Even if HOTPLUG is
enabled, the mask is populated on boot with respect to ACPI/DT records.

Signed-off-by: Yury Norov <yury.norov@gmail.com>

-4
-4
include/linux/cpumask.h
··· 72 72 * cpu_online_mask is the dynamic subset of cpu_present_mask, 73 73 * indicating those CPUs available for scheduling. 74 74 * 75 - * If HOTPLUG is enabled, then cpu_possible_mask is forced to have 76 - * all NR_CPUS bits set, otherwise it is just the set of CPUs that 77 - * ACPI reports present at boot. 78 - * 79 75 * If HOTPLUG is enabled, then cpu_present_mask varies dynamically, 80 76 * depending on what ACPI reports as currently plugged in, otherwise 81 77 * cpu_present_mask is just a copy of cpu_possible_mask.