Skip to contentSkip to conversation

sched/rt: Fix a comment in deadline.c

PATCH New xiaofeng.yan 2 participants 2 messages May 12, 2014 – May 19, 2014 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/rt: Fix a comment in deadline.c

EDF use sched_setattr() instead of sched_setscheduler().

---
 kernel/sched/deadline.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/deadline.c +1 -1
index b080957..558e41a 100644
@@ -520,7 +520,7 @@ static enum hrtimer_restart dl_task_timer(struct hrtimer *timer)
 	 * We need to take care of a possible races here. In fact, the
 	 * task might have changed its scheduling policy to something
 	 * different from SCHED_DEADLINE or changed its reservation
-	 * parameters (through sched_setscheduler()).
+	 * parameters (through sched_setattr()).
 	 */
 	if (!dl_task(p) || dl_se->dl_new)
 		goto unlock;
Signature · 1 line
1.7.9.5
#1 lore raw
sched/rt: Fix a comment in deadline.c
Commit-ID:  6e9a8b9d6a9257bc124a1609f25597064ef9c167
Gitweb:     http://git.kernel.org/tip/6e9a8b9d6a9257bc124a1609f25597064ef9c167
Author:     xiaofeng.yan <[email protected]>
AuthorDate: Mon, 12 May 2014 07:41:17 +0000
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Mon, 19 May 2014 22:02:42 +0900

sched/rt: Fix a comment in deadline.c

EDF use sched_setattr() instead of sched_setscheduler().

---
 kernel/sched/deadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/deadline.c +1 -1
index e0a04ae..f9ca7d1 100644
@@ -520,7 +520,7 @@ static enum hrtimer_restart dl_task_timer(struct hrtimer *timer)
 	 * We need to take care of a possible races here. In fact, the
 	 * task might have changed its scheduling policy to something
 	 * different from SCHED_DEADLINE or changed its reservation
-	 * parameters (through sched_setscheduler()).
+	 * parameters (through sched_setattr()).
 	 */
 	if (!dl_task(p) || dl_se->dl_new)
 		goto unlock;