[RFC][PATCH 0/7] sched: various updates to the scheduler

June 16th, 2011 - 10:00 pm ET by Steven Rostedt | Report spam
Peter,

Can you review these patches and give your Acked-by, or explain what
might be wrong with them. No hurry, I haven't pushed them through my
full testing yet (starting that now). But I want to push them out for
3.1.

Thanks,



This patch set can be found in:

git://git.kernel.org/pub/scm/linux/...2.6-rt.git
tip/sched/core

Head SHA1: cac554411989613131d899cfb51b622ce96d5136


Hillf Danton (5):
sched: Fix need_resched() when checking peempt
sched: Remove noop in next_prio()
sched: Remove noop in lowest_flag_domain()
sched, rt: Fix rq->rt.pushable_tasks bug in push_rt_task()
sched: Remove resetting exec_start in put_prev_task_rt()

Steven Rostedt (2):
sched: Balance RT tasks when forked as well
sched: Use pushable_tasks to determine next highest prio

-
kernel/sched_fair.c | 2 +-
kernel/sched_rt.c | 88 +++++++++++++++++++--
2 files changed, 34 insertions(+), 56 deletions(-)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
email Follow the discussionReplies 9 repliesReplies Make a reply

Replies

#1 Steven Rostedt
June 16th, 2011 - 10:00 pm ET | Report spam
From: Hillf Danton

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.

Cc: Mike Galbraith
Cc: Yong Zhang
Cc: Peter Zijlstra
Cc: Ingo Molnar
Signed-off-by: Hillf Danton
Link: http://lkml.kernel.org/r/BANLkTimqWD=q6YnSDi-v9y=
Signed-off-by: Steven Rostedt

kernel/sched_rt.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/kernel/sched_rt.c b/kernel/sched_rt.c
index 7737d41..1546c1c 100644
a/kernel/sched_rt.c
+++ b/kernel/sched_rt.c
@@ -1166,7 +1166,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
1.7.4.4


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Similar topics