https://github.com/torvalds/linux
Revision 23952a96ae738277f3139b63d622e22984589031 authored by Andreas Herrmann on 06 August 2008, 08:29:37 UTC, committed by Ingo Molnar on 06 September 2008, 18:48:16 UTC
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>
1 parent d04ec77
History
Tip revision: 23952a96ae738277f3139b63d622e22984589031 authored by Andreas Herrmann on 06 August 2008, 08:29:37 UTC
x86: cpu_init(): fix memory leak when using CPU hotplug
Tip revision: 23952a9
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 867 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 99.8 KB
Makefile -rw-r--r-- 55.4 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top