sched/rt: Fix 'struct sched_dl_entity' and dl_task_time() comments, to match the...
authorxiaofeng.yan <xiaofeng.yan@huawei.com>
Fri, 9 May 2014 03:21:27 +0000 (03:21 +0000)
committerIngo Molnar <mingo@kernel.org>
Thu, 22 May 2014 09:16:37 +0000 (11:16 +0200)
Signed-off-by: xiaofeng.yan <xiaofeng.yan@huawei.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1399605687-18094-1-git-send-email-xiaofeng.yan@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h
kernel/sched/deadline.c

index 725eef121c9f0344307752037de6f5998a22b637..0f91d00efd87d2a400e683af11514dc471c99e22 100644 (file)
@@ -1175,8 +1175,8 @@ struct sched_dl_entity {
 
        /*
         * Original scheduling parameters. Copied here from sched_attr
-        * during sched_setscheduler2(), they will remain the same until
-        * the next sched_setscheduler2().
+        * during sched_setattr(), they will remain the same until
+        * the next sched_setattr().
         */
        u64 dl_runtime;         /* maximum runtime for each instance    */
        u64 dl_deadline;        /* relative deadline of each instance   */
index e0a04ae1e0ddb9ea4ec4f5877a838344550518b0..f9ca7d19781a5691eb915c8764873ba82b31fcf0 100644 (file)
@@ -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;
This page took 0.028479 seconds and 5 git commands to generate.