projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311e800
)
sched: Remove resetting exec_start in put_prev_task_rt()
author
Hillf Danton
<
[email protected]
>
Fri, 17 Jun 2011 01:55:21 +0000
(21:55 -0400)
committer
Ingo Molnar
<
[email protected]
>
Sun, 14 Aug 2011 10:00:50 +0000
(12:00 +0200)
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 <
[email protected]
>
Signed-off-by: Steven Rostedt <
[email protected]
>
Signed-off-by: Peter Zijlstra <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Yong Zhang <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
kernel/sched_rt.c
patch
|
blob
|
history
diff --git
a/kernel/sched_rt.c
b/kernel/sched_rt.c
index 8e189455ed1270eb1e980d9cefebb4474934cacb..70107a39b1ba1eba8da8485bdc8bca7339fe3d34 100644
(file)
--- a/
kernel/sched_rt.c
+++ b/
kernel/sched_rt.c
@@
-1178,7
+1178,6
@@
static struct task_struct *pick_next_task_rt(struct rq *rq)
static void put_prev_task_rt(struct rq *rq, struct task_struct *p)
{
update_curr_rt(rq);
- p->se.exec_start = 0;
/*
* The previous task needs to be made eligible for pushing