diff options
author | Peter Zijlstra <[email protected]> | 2011-01-19 12:26:11 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-01-19 12:51:32 +0100 |
commit | 068c5cc5ac7414a8e9eb7856b4bf3cc4d4744267 (patch) | |
tree | 28a017e342dddd3ffe8e3dd3499a395aee39b796 /tools/perf/util/trace-event-scripting.c | |
parent | d7d8294415f0ce4254827d4a2a5ee88b00be52a8 (diff) |
sched, cgroup: Use exit hook to avoid use-after-free crash
By not notifying the controller of the on-exit move back to
init_css_set, we fail to move the task out of the previous
cgroup's cfs_rq. This leads to an opportunity for a
cgroup-destroy to come in and free the cgroup (there are no
active tasks left in it after all) to which the not-quite dead
task is still enqueued.
Reported-by: Miklos Vajna <[email protected]>
Fixed-by: Mike Galbraith <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: <[email protected]>
Cc: Mike Galbraith <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
LKML-Reference: <1293206353.29444.205.camel@laptop>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions