perf: Clean up 'ctx' reference counting
commit9137fb28ac74d05eb66d1d8e6778eaa14e6fed43
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 9 Apr 2011 19:17:41 +0000 (9 21:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 28 May 2011 16:01:10 +0000 (28 18:01 +0200)
treed27d1bd1c2fd89b50feafdb04ac868225b69a812
parent075e0b00857e166dcc3e39037a1fc5a90acac709
perf: Clean up 'ctx' reference counting

Small cleanup to how we refcount in find_get_context(), this also
allows us to use put_ctx() to free things instead of using kfree().

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110409192141.719340481@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c