perf_events: Add fast-path to the rescheduling code
commit8113070d6639d2245c6c79afb8df42cedab30540
authorStephane Eranian <eranian@google.com>
Thu, 21 Jan 2010 15:39:01 +0000 (21 17:39 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 29 Jan 2010 08:01:34 +0000 (29 09:01 +0100)
treee3735ea7f38bbfffcbda5e7610ee7f13ff5e7c83
parent1da53e023029c067ba1277a33038c65d6e4c99b3
perf_events: Add fast-path to the rescheduling code

Implement correct fastpath scheduling, i.e., reuse previous assignment.

Signed-off-by: Stephane Eranian <eranian@google.com>
[ split from larger patch]
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4b588464.1818d00a.4456.383b@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c