perfcounters: release CPU context when exiting task counters
authorIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 22:20:36 +0000 (23:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 22:25:02 +0000 (23:25 +0100)
If counters are exiting via do_exit() not via filp close, then
the CPU context needs to be released - otherwise future percpu
counter creations might fail.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c

Simple merge