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.nlSigned-off-by: Ingo Molnar <mingo@elte.hu>
Showing
Please register or sign in to comment