]> git.baikalelectronics.ru Git - kernel.git/commit
sched, perf: Use a single callback into the scheduler
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 8 May 2012 16:56:04 +0000 (18:56 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 May 2012 13:23:17 +0000 (15:23 +0200)
commit8d808b8ed4023cb87ddff77d99440204ca8c986a
tree7335f4ca82dc0366ffbf9dc8de5396259213435a
parentf096e44e40bdf3ebcd41bf7ec2fc28949084afa1
sched, perf: Use a single callback into the scheduler

We can easily use a single callback for both sched-in and sched-out. This
reduces the code footprint in the scheduler path as well as removes
the PMU black spot otherwise present between the out and in callback.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-o56ajxp1edwqg6x9d31wb805@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/perf_event.h
kernel/events/core.c
kernel/sched/core.c