From: Peter Zijlstra Date: Wed, 20 May 2009 10:21:19 +0000 (+0200) Subject: perf_counter: Solve the rotate_ctx vs inherit race differently X-Git-Tag: v2.6.31-rc1~383^2~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b629a34fc4134a43c730b5f0197855dc4948d0;p=pandora-kernel.git perf_counter: Solve the rotate_ctx vs inherit race differently Instead of disabling RR scheduling of the counters, use a different list that does not get rotated to iterate the counters on inheritance. [ Impact: cleanup, optimization ] Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner Cc: Marcelo Tosatti Cc: John Kacur LKML-Reference: <20090520102553.237504544@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed