Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 442d3924 authored by cpw@sgi.com's avatar cpw@sgi.com Committed by Ingo Molnar
Browse files

x86, UV: Remove cpumask_t from the stack



Remove the large stack-resident cpumask_t from
reset_with_ipi()'s stack by allocating one per uvhub.

Due to the limited size of the stack the potentially huge cpumask_t may
cause stack overrun.  We haven't seen it happen yet, but we need to make it
a practice not to push such structures onto the stack.

Signed-off-by: default avatarCliff Wickman <cpw@sgi.com>
Reviewed-by: default avatarPekka Enberg <penberg@kernel.org>
Link: http://lkml.kernel.org/r/20110621122242.832589130@sgi.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a456eaab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment