[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-6e9a8b9d6a9257bc124a1609f25597064ef9c167@git.kernel.org>
Date: Mon, 19 May 2014 06:10:47 -0700
From: "tip-bot for xiaofeng.yan" <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...nel.org,
peterz@...radead.org, xiaofeng.yan@...wei.com, tglx@...utronix.de
Subject: [tip:sched/core] sched/rt: Fix a comment in deadline.c
Commit-ID: 6e9a8b9d6a9257bc124a1609f25597064ef9c167
Gitweb: http://git.kernel.org/tip/6e9a8b9d6a9257bc124a1609f25597064ef9c167
Author: xiaofeng.yan <xiaofeng.yan@...wei.com>
AuthorDate: Mon, 12 May 2014 07:41:17 +0000
Committer: Thomas Gleixner <tglx@...utronix.de>
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().
Cc: mingo@...hat.com
Signed-off-by: xiaofeng.yan <xiaofeng.yan@...wei.com>
Signed-off-by: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/1399880477-23376-1-git-send-email-xiaofeng.yan@huawei.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
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 e0a04ae..f9ca7d1 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists