lkml.org 
[lkml]   [2015]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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


\
 
 \ /
  Last update: 2015-09-26 08:41    [W:0.770 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site