From: Ingo Molnar Date: Sun, 17 May 2009 09:08:41 +0000 (+0200) Subject: perf_counter: fix counter freeing logic X-Git-Tag: v2.6.31-rc1~383^2~255 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33b2fb303fe7f6b08bbb32f708e67b96eaa94a7a;p=pandora-kernel.git perf_counter: fix counter freeing logic Fix counter lifetime bugs which explain the crashes reported by Marcelo Tosatti and Arnaldo Carvalho de Melo. The new rule is: flushing + freeing is only done for a task's own counters, never for other tasks. [ Impact: fix crashes/lockups with inherited counters ] Reported-by: Arnaldo Carvalho de Melo Reported-by: Marcelo Tosatti Acked-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed