From: Peter Zijlstra Date: Thu, 14 Oct 2010 14:54:51 +0000 (+0200) Subject: perf: Fix task refcount bugs X-Git-Tag: v2.6.37-rc1~214^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7d0bc047548d76feee6b23f7d3d9da927189a50;p=pandora-kernel.git perf: Fix task refcount bugs Currently it looks like find_lively_task_by_vpid() takes a task ref and relies on find_get_context() to drop it. The problem is that perf_event_create_kernel_counter() shouldn't be dropping task refs. Signed-off-by: Peter Zijlstra Acked-by: Frederic Weisbecker Acked-by: Matt Helsley LKML-Reference: <20101014203625.278436085@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed