2016-11-23 00:47:54

by Tao Zhou

[permalink] [raw]
Subject: [PATCH] sched/dl: change pull_rt_task() to pull_dl_task() in comment

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 <[email protected]>
---
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 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1137,7 +1137,7 @@ pick_next_task_dl(struct rq *rq, struct task_struct *prev, struct pin_cookie coo
pull_dl_task(rq);
lockdep_repin_lock(&rq->lock, cookie);
/*
- * pull_rt_task() can drop (and re-acquire) rq->lock; this
+ * pull_dl_task() can drop (and re-acquire) rq->lock; this
* means a stop task can slip in, in which case we need to
* re-start task selection.
*/
--
2.7.3



Subject: [tip:sched/core] sched/dl: Fix comment in pick_next_task_dl()

Commit-ID: 176cedc4ed143745708999155c11b5717cdebb35
Gitweb: http://git.kernel.org/tip/176cedc4ed143745708999155c11b5717cdebb35
Author: T.Zhou <[email protected]>
AuthorDate: Wed, 23 Nov 2016 08:48:32 +0800
Committer: Ingo Molnar <[email protected]>
CommitDate: Wed, 23 Nov 2016 10:23:21 +0100

sched/dl: Fix comment in pick_next_task_dl()

Fix cut & paste oversight:

s/pull_rt_task/pull_dl_task

Signed-off-by: T.Zhou <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20161123004832.GA2983@geo
Signed-off-by: Ingo Molnar <[email protected]>
---
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 c61b461..70ef2b1 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -1137,7 +1137,7 @@ pick_next_task_dl(struct rq *rq, struct task_struct *prev, struct pin_cookie coo
pull_dl_task(rq);
lockdep_repin_lock(&rq->lock, cookie);
/*
- * pull_rt_task() can drop (and re-acquire) rq->lock; this
+ * pull_dl_task() can drop (and re-acquire) rq->lock; this
* means a stop task can slip in, in which case we need to
* re-start task selection.
*/