To calculate util_avg, se's weight should have the
same resolution as cfs->avg.load_avg. So use user
weight instead.
Signed-off-by: T.Zhou
---
kernel/sched/fair.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index
Commit-ID: 176cedc4ed143745708999155c11b5717cdebb35
Gitweb: http://git.kernel.org/tip/176cedc4ed143745708999155c11b5717cdebb35
Author: T.Zhou
AuthorDate: Wed, 23 Nov 2016 08:48:32 +0800
Committer: Ingo Molnar
CommitDate: Wed, 23 Nov 2016 10:23:21 +0100
sched/dl: Fix comment in
The pull_dl_task() is called above the comment, so
change pull_rt_task() to pull_dl_task() in comment.
Signed-off-by: T.Zhou
---
kernel/sched/deadline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index f276a81..d93b300
The code actually checks rt_queued not rt_nr_running
in pick_next_task_rt(), so change the corresponding
comment.
Signed-off-by: T.Zhou
---
kernel/sched/rt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 2516b8d..9b4a5c5 100644
not want to interrupt you..
Will resend soon.
Thanks,
T.Zhou
The code actually checks rt_queued not rt_nr_running
in pick_next_task_rt(), so change the corresponding
comment.
Signed-off-by: T.Zhou
---
kernel/sched/rt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 2516b8d..9b4a5c5 100644
See @flags is not used there, so delete it.
Signed-off-by: T.Zhou
---
kernel/sched/deadline.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index c61b461..f276a81 100644
--- a/kernel/sched/deadline.c
+++ b/kernel
The second parameter of smp_cond_load_acquire() should be !p->on_cpu
cause remote wakeup need to ensure that: if the task is running on
prev cpu, it should be descheduled before doing the actual wakeup.
Signed-off-by: T.Zhou
---
kernel/sched/core.c | 2 +-
1 file changed, 1 insertion(+)
8 matches
Mail list logo