commit | bbbee90829304d156c12b171c0ac7e6e1aba8b90 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <[email protected]> | Fri May 29 14:25:58 2009 +0200 |
committer | Ingo Molnar <[email protected]> | Fri May 29 16:21:52 2009 +0200 |
tree | ec0a1a8c69a5c909a57227915734d1e55678eb5c | |
parent | 665c2142a94202881a3c11cbaee6506cb10ada2d [diff] |
perf_counter: Ammend cleanup in fork() fail When fork() fails we cannot use perf_counter_exit_task() since that assumes to operate on current. Write a new helper that cleans up unused/clean contexts. Signed-off-by: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Corey Ashford <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: John Kacur <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>