Skip to content
Commit b6df1b8b authored by Jack Steiner's avatar Jack Steiner Committed by Ingo Molnar
Browse files

x86: fix stack overflow for large values of MAX_APICS



physid_mask_of_physid() causes a huge stack (12k) to be created if the
number of APICS is large. Replace physid_mask_of_physid() with a
new function that does not create large stacks. This is a problem only
on large x86_64 systems.

this paves the way to increase MAX_APICS.

Signed-off-by: default avatarJack Steiner <steiner@sgi.com>
Cc: linux-mm@kvack.org
Cc: mingo@elte.hu
Cc: tglx@linutronix.de
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d400524a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment