Messages in this thread | | | Date | Sat, 26 Sep 2015 08:08:12 +0200 | From | Ingo Molnar <> | Subject | Re: x86_64: MAX_LOCAL_APIC way too big? |
| |
* Denys Vlasenko <dvlasenk@redhat.com> wrote:
> For 64-bit kernels, MAX_LOCAL_APIC is 32k: > > #ifdef CONFIG_X86_32 > ... > #else > # define MAX_IO_APICS 128 > # define MAX_LOCAL_APIC 32768 > #endif > > (It seems to be a bit of a misnomer, it's not a maximum > number of APICs we support, it's the highest APIC _id_ > we support.)
Gah, that's a pretty serious misnomer - so it should be fixed regardless of the outcome of the sizing discussion.
Thanks,
Ingo
| |