From: Ingo Molnar Date: Sun, 17 May 2009 09:08:41 +0000 (+0200) Subject: perf_counter: Robustify counter-free logic X-Git-Tag: v2.6.31-rc1~383^2~156 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012b84dae17126d8b5d159173091eb3db5a2bc43;p=pandora-kernel.git perf_counter: Robustify counter-free logic This fixes a nasty crash and highlights a bug that we were freeing failed-fork() counters incorrectly. (the fix for that will come separately) [ Impact: fix crashes/lockups with inherited counters ] Acked-by: Peter Zijlstra Cc: Mike Galbraith Cc: Paul Mackerras Cc: Corey Ashford Cc: Marcelo Tosatti Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed