From: Peter Zijlstra Date: Sat, 23 May 2009 16:28:57 +0000 (+0200) Subject: perf_counter: Sanitize context locking X-Git-Tag: v2.6.31-rc1~383^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=682076ae1de0aba9c2da509f7b19dc03e30a6e1f;p=pandora-kernel.git perf_counter: Sanitize context locking Ensure we're consistent with the context locks. context->mutex context->lock list_{add,del}_counter(); so that either lock is sufficient to stabilize the context. Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: John Kacur LKML-Reference: <20090523163012.618790733@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed