projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bfd126
)
sched/deadline: Fix memory leak
author
Li Zefan
<lizefan@huawei.com>
Thu, 17 Apr 2014 02:05:02 +0000
(10:05 +0800)
committer
Ingo Molnar
<mingo@kernel.org>
Wed, 7 May 2014 09:51:32 +0000
(11:51 +0200)
Free cpudl->free_cpus allocated in cpudl_init().
Signed-off-by: Li Zefan <lizefan@huawei.com>
Acked-by: Juri Lelli <juri.lelli@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: <stable@vger.kernel.org> # 3.14+
Link:
http://lkml.kernel.org/r/534F36CE.2000409@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cpudeadline.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/cpudeadline.c
b/kernel/sched/cpudeadline.c
index 5b9bb42b2d47e760f3a7cd17af24ba37d2cf07ea..ab001b5d50487815da984947b592b26038cce794 100644
(file)
--- a/
kernel/sched/cpudeadline.c
+++ b/
kernel/sched/cpudeadline.c
@@
-210,7
+210,5
@@
int cpudl_init(struct cpudl *cp)
*/
void cpudl_cleanup(struct cpudl *cp)
{
- /*
- * nothing to do for the moment
- */
+ free_cpumask_var(cp->free_cpus);
}