Andreas Herrmann 23952a96ae x86: cpu_init(): fix memory leak when using CPU hotplug
Exception stacks are allocated each time a CPU is set online.
But the allocated space is never freed. Thus with one CPU hotplug
offline/online cycle there is a memory leak of 24K (6 pages) for
a CPU.

Fix is to allocate exception stacks only once -- when the CPU is
set online for the first time.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: akpm@linux-foundation.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-06 20:48:16 +02:00
..
2008-08-25 01:18:06 -04:00
2008-08-01 13:03:49 -07:00
2008-07-26 12:00:11 -07:00
2008-09-02 10:57:29 -07:00
2008-08-25 18:15:01 +02:00
2008-07-30 09:41:45 -07:00
2008-07-26 12:00:09 -07:00