projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ca0873
)
sched: Fix struct autogroup memory leak
author
Mike Galbraith
<
[email protected]
>
Wed, 5 Jan 2011 10:11:25 +0000
(11:11 +0100)
committer
Ingo Molnar
<
[email protected]
>
Fri, 7 Jan 2011 14:54:37 +0000
(15:54 +0100)
Seems I lost a change somewhere, leaking memory.
sched: fix struct autogroup memory leak
Add missing change to actually use autogroup_free().
Signed-off-by: Mike Galbraith <
[email protected]
>
Signed-off-by: Peter Zijlstra <
[email protected]
>
LKML-Reference: <
1294222285
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched.c
patch
|
blob
|
history
diff --git
a/kernel/sched.c
b/kernel/sched.c
index 54b58ec99fd4c2bc8eb16d94413289a15592c5a0..a8478a217deeb980505896191cc32734f9545dbf 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-8377,6
+8377,7
@@
static void free_sched_group(struct task_group *tg)
{
free_fair_sched_group(tg);
free_rt_sched_group(tg);
+ autogroup_free(tg);
kfree(tg);
}