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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Tuesday, January 4, 2011 - 1:48 am

* Yinghai Lu <yinghai@kernel.org> wrote:


Please fix the real bug first: the lack of boundary checks when we set 
phys_cpu_present_map!

Then, once that bitmap op is not corrupting nearby variables silently but triggers a 
fail-safe logic instead (ignoring apics that go outside the supported range? 
printk-ing a warning?) can we think about upping the limit.

But even with the limit upping, please show (in the changelog) a before/after 'size 
vmlinux' comparison, to make sure that this rather drastic change of the limit does 
not waste unreasonable amounts of memory.

Thanks,

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86, 64bit: Always make MAX_APICS to 32768, Yinghai Lu, (Thu Dec 30, 6:05 pm)
Re: [PATCH] x86, 64bit: Always make MAX_APICS to 32768, Ingo Molnar, (Tue Jan 4, 1:48 am)