diff options
author | 2008-08-06 10:27:30 +0200 | |
---|---|---|
committer | 2008-09-06 20:48:02 +0200 | |
commit | d04ec773d7ca1bbc05a2768be95c1cebe2b07757 (patch) | |
tree | 7f44aad93d8f8a526f5a16f42feab080b3ecb9da /fs/jbd2/commit.c | |
parent | x86, xen: Use native_pte_flags instead of native_pte_val for .pte_flags (diff) | |
download | linux-dev-d04ec773d7ca1bbc05a2768be95c1cebe2b07757.tar.xz linux-dev-d04ec773d7ca1bbc05a2768be95c1cebe2b07757.zip |
x86: pda_init(): fix memory leak when using CPU hotplug
pda->irqstackptr is allocated whenever a CPU is set online.
But it is never freed. This results in a memory leak of 16K
for each CPU offline/online cycle.
Fix is to allocate pda->irqstackptr only once.
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: akpm@linux-foundation.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions