Re: [PATCH] x86, 64bit: Always make MAX_APICS to 32768

From: Ingo Molnar
Date: Wed Jan 05 2011 - 08:10:32 EST



* Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> > Please fix the real bug first: the lack of boundary checks when we set
> > phys_cpu_present_map!
>
> real bug is that MAX_APICS and MAX_LOCAL_APIC using is messed up.
>
> could be MAX_APICS is from 32bit, and MAX_LOCAL_APIC is from 64bit.

Indeed - nice patch!

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/