Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched: Update documentation and comments

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>

authored by

Hiroshi Shimamoto and committed by
Ingo Molnar
489a71b0 436281c9

+5 -5
+3 -3
Documentation/scheduler/sched-design-CFS.txt
··· 130 130 idle timer scheduler in order to avoid to get into priority 131 131 inversion problems which would deadlock the machine. 132 132 133 - SCHED_FIFO/_RR are implemented in sched_rt.c and are as specified by 133 + SCHED_FIFO/_RR are implemented in sched/rt.c and are as specified by 134 134 POSIX. 135 135 136 136 The command chrt from util-linux-ng 2.13.1.1 can set all of these except ··· 145 145 encapsulate scheduling policy details and are handled by the scheduler core 146 146 without the core code assuming too much about them. 147 147 148 - sched_fair.c implements the CFS scheduler described above. 148 + sched/fair.c implements the CFS scheduler described above. 149 149 150 - sched_rt.c implements SCHED_FIFO and SCHED_RR semantics, in a simpler way than 150 + sched/rt.c implements SCHED_FIFO and SCHED_RR semantics, in a simpler way than 151 151 the previous vanilla scheduler did. It uses 100 runqueues (for all 100 RT 152 152 priority levels, instead of 140 in the previous scheduler) and it needs no 153 153 expired array.
+1 -1
include/linux/sched.h
··· 1950 1950 */ 1951 1951 extern unsigned long long notrace sched_clock(void); 1952 1952 /* 1953 - * See the comment in kernel/sched_clock.c 1953 + * See the comment in kernel/sched/clock.c 1954 1954 */ 1955 1955 extern u64 cpu_clock(int cpu); 1956 1956 extern u64 local_clock(void);
+1 -1
kernel/sched/idle_task.c
··· 4 4 * idle-task scheduling class. 5 5 * 6 6 * (NOTE: these are not related to SCHED_IDLE tasks which are 7 - * handled in sched_fair.c) 7 + * handled in sched/fair.c) 8 8 */ 9 9 10 10 #ifdef CONFIG_SMP