From: Peter Zijlstra Date: Wed, 20 May 2009 10:21:22 +0000 (+0200) Subject: perf_counter: Optimize sched in/out of counters X-Git-Tag: v2.6.31-rc1~383^2~250 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afedadf2;p=pandora-kernel.git perf_counter: Optimize sched in/out of counters Avoid a function call for !group counters by directly calling the counter function. [ Impact: micro-optimize the code ] Signed-off-by: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Marcelo Tosatti Cc: John Kacur LKML-Reference: <20090520102553.511933670@chello.nl> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed