mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched/rt: Fix a comment in deadline.c
@ 2014-05-12  7:41 xiaofeng.yan
  2014-05-19 13:10 ` [tip:sched/core] " tip-bot for xiaofeng.yan
  0 siblings, 1 reply; 2+ messages in thread
From: xiaofeng.yan @ 2014-05-12  7:41 UTC (permalink / raw)
  To: linux-kernel, mingo, peterz; +Cc: xiaofeng.yan2012, xiaofeng.yan

EDF use sched_setattr() instead of sched_setscheduler().

Signed-off-by: xiaofeng.yan <xiaofeng.yan@huawei.com>
---
 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 b080957..558e41a 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;
-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-19 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-12  7:41 [PATCH] sched/rt: Fix a comment in deadline.c xiaofeng.yan
2014-05-19 13:10 ` [tip:sched/core] " tip-bot for xiaofeng.yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®