Skip to contentSkip to conversation

sched/dl: change pull_rt_task() to pull_dl_task() in comment

PATCH New T.Zhou 2 participants 2 messages Nov 23, 2016 Scheduler

lore
Share & tools
lore

T.Zhou

author
#0 lore raw

PATCH 1/1 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.

---
 kernel/sched/deadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/deadline.c +1 -1
index f276a81..d93b300 100644
@@ -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.
 		 */
Signature · 1 line
2.7.3
#1 lore raw

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

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

---
 kernel/sched/deadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/deadline.c +1 -1
index c61b461..70ef2b1 100644
@@ -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.
 		 */