From: Ingo Molnar Date: Sun, 17 May 2009 17:37:25 +0000 (+0200) Subject: perf_counter, x86: speed up the scheduling fast-path X-Git-Tag: v2.6.31-rc1~383^2~256 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68f1d2e7aa21029d73c7d453a8046e95d351740;p=pandora-kernel.git perf_counter, x86: speed up the scheduling fast-path We have to set up the LVT entry only at counter init time, not at every switch-in time. There's friction between NMI and non-NMI use here - we'll probably remove the per counter configurability of it - but until then, dont slow down things ... [ Impact: micro-optimization ] Cc: Peter Zijlstra Cc: Srivatsa Vaddagiri Cc: Paul Mackerras Cc: Corey Ashford Cc: Arnaldo Carvalho de Melo Cc: Marcelo Tosatti LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed