]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
sched: Update documentation and comments
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Mon, 2 Apr 2012 08:00:44 +0000 (17:00 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 7 May 2012 13:04:18 +0000 (15:04 +0200)
Change sched_*.c to sched/*.c in documentation and comments.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/4F795CAC.9080206@ct.jp.nec.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Documentation/scheduler/sched-design-CFS.txt
include/linux/sched.h
kernel/sched/idle_task.c

index 91ecff07cede7dfbb4710273bd9824030a805258..d529e02d928d4750c4acb6f3d6f7de4cf512d12f 100644 (file)
@@ -130,7 +130,7 @@ CFS implements three scheduling policies:
     idle timer scheduler in order to avoid to get into priority
     inversion problems which would deadlock the machine.
 
-SCHED_FIFO/_RR are implemented in sched_rt.c and are as specified by
+SCHED_FIFO/_RR are implemented in sched/rt.c and are as specified by
 POSIX.
 
 The command chrt from util-linux-ng 2.13.1.1 can set all of these except
@@ -145,9 +145,9 @@ Classes," an extensible hierarchy of scheduler modules.  These modules
 encapsulate scheduling policy details and are handled by the scheduler core
 without the core code assuming too much about them.
 
-sched_fair.c implements the CFS scheduler described above.
+sched/fair.c implements the CFS scheduler described above.
 
-sched_rt.c implements SCHED_FIFO and SCHED_RR semantics, in a simpler way than
+sched/rt.c implements SCHED_FIFO and SCHED_RR semantics, in a simpler way than
 the previous vanilla scheduler did.  It uses 100 runqueues (for all 100 RT
 priority levels, instead of 140 in the previous scheduler) and it needs no
 expired array.
index 81a173c0897d91c2d5b22b5370d282c7346bd8a9..4a559bf0622fe8d1f69364521c5f67e43df8e3b6 100644 (file)
@@ -1950,7 +1950,7 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
  */
 extern unsigned long long notrace sched_clock(void);
 /*
- * See the comment in kernel/sched_clock.c
+ * See the comment in kernel/sched/clock.c
  */
 extern u64 cpu_clock(int cpu);
 extern u64 local_clock(void);
index 91b4c957f289a96138290e64bc787b115086f4d8..b44d604b35d1a8b4164aa2ea4d94d00bf9063824 100644 (file)
@@ -4,7 +4,7 @@
  * idle-task scheduling class.
  *
  * (NOTE: these are not related to SCHED_IDLE tasks which are
- *  handled in sched_fair.c)
+ *  handled in sched/fair.c)
  */
 
 #ifdef CONFIG_SMP