Skip to content

Commit 7102b3b

Browse files
committed
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 <[email protected]>
1 parent 38bef8e commit 7102b3b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/cpumask.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,6 @@ static inline void set_nr_cpu_ids(unsigned int nr)
7272
* cpu_online_mask is the dynamic subset of cpu_present_mask,
7373
* indicating those CPUs available for scheduling.
7474
*
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-
*
7975
* If HOTPLUG is enabled, then cpu_present_mask varies dynamically,
8076
* depending on what ACPI reports as currently plugged in, otherwise
8177
* cpu_present_mask is just a copy of cpu_possible_mask.

0 commit comments

Comments
 (0)