sched: Update document and comment
Subsystems (2)
PATCH 1/1 sched: Update document and comment
From: Hiroshi Shimamoto <[email protected]>
Change sched_*.c to sched/*.c in document and comment.
Signed-off-by Hiroshi Shimamoto <[email protected]>
--- Documentation/scheduler/sched-design-CFS.txt | 6 +++--- include/linux/sched.h | 2 +- kernel/sched/idle_task.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
Documentation/scheduler/sched-design-CFS.txt +3 -3
@@ -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.
include/linux/sched.h +1 -1
@@ -1954,7 +1954,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 );
kernel/sched/idle_task.c +1 -1
@@ -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
Signature · 1 line
1.7.7.6
[tip:sched/core] sched: Update documentation and comments
Commit-ID: 489a71b029cd94e3b0132795146e8be3a87bf3fa Gitweb: http://git.kernel.org/tip/489a71b029cd94e3b0132795146e8be3a87bf3fa Author: Hiroshi Shimamoto <[email protected]> AuthorDate: Mon, 2 Apr 2012 17:00:44 +0900 Committer: Ingo Molnar <[email protected]> CommitDate: Mon, 7 May 2012 15:04:18 +0200
sched: Update documentation and comments
Change sched_*.c to sched/*.c in documentation and comments.
Signed-off-by Hiroshi Shimamoto <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- Documentation/scheduler/sched-design-CFS.txt | 6 +++--- include/linux/sched.h | 2 +- kernel/sched/idle_task.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
Documentation/scheduler/sched-design-CFS.txt +3 -3
@@ -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.
include/linux/sched.h +1 -1
@@ -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 );
kernel/sched/idle_task.c +1 -1
@@ -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