Skip to contentSkip to conversation

x86_64: up to 255 or 256 CPUs?

DISCUSSION Adrian Bunk 3 participants 3 messages Feb 20, 2007

lore
Share & tools
lore
#0 lore raw

Quoting arch/x86_64/Kconfig:

<-- snip -->

...
config NR_CPUS
int "Maximum number of CPUs (2-256)"
range 2 255
...

<-- snip -->

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#1 lore raw
Quoted 10 lines · Adrian Bunk

Quoting arch/x86_64/Kconfig:
<-- snip -->
...
config NR_CPUS
int "Maximum number of CPUs (2-256)"
range 2 255
...
<-- snip -->
cu
Adrian

The broadcast APIC ID clashes with the 256th cpu.

-- wli

#2 lore raw
Quoted 12 lines · William Lee Irwin III
Quoted 10 lines · Adrian Bunk

Quoting arch/x86_64/Kconfig:
<-- snip -->
...
config NR_CPUS
int "Maximum number of CPUs (2-256)"
range 2 255
...
<-- snip -->
cu
Adrian

Quoted 1 line

The broadcast APIC ID clashes with the 256th cpu.

Yes 255 is theory. But we don't know if it actually works anyways because it has been never tested.

-Andi