summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJack Steiner <steiner@sgi.com>2008-06-20 06:51:05 +0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 14:23:28 +0400
commitb6df1b8bc1250191cfee15627697111c1cbda53f (patch)
treeb5991eafa0f5f4e155921bd10d4f44696c271b8d /include/linux
parentd400524affeb84bdfc2b00cd561fbfb8c09dadd7 (diff)
downloadlinux-b6df1b8bc1250191cfee15627697111c1cbda53f.tar.xz
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: Jack Steiner <steiner@sgi.com> Cc: linux-mm@kvack.org Cc: mingo@elte.hu Cc: tglx@linutronix.de Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions