]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Remove resetting exec_start in put_prev_task_rt()
authorHillf Danton <dhillf@gmail.com>
Fri, 17 Jun 2011 01:55:21 +0000 (21:55 -0400)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Aug 2011 10:00:50 +0000 (12:00 +0200)
commit1561d685d85432fbc5c31bba3efb05c81633dda7
tree874b7db2d6382e32160127b7e880007b9c8e7c87
parent45b56b2a616bfb3decc663dae35194ef9cf01a97
sched: Remove resetting exec_start in put_prev_task_rt()

There's no reason to clean the exec_start in put_prev_task_rt() as it is reset
when the task gets back to the run queue. This saves us doing a store() in the
fast path.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Yong Zhang <yong.zhang0@gmail.com>
Link: http://lkml.kernel.org/r/BANLkTimqWD=q6YnSDi-v9y=LMWecgEzEWg@mail.gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_rt.c