Commit 1232d613 authored by Borislav Petkov's avatar Borislav Petkov Committed by Ingo Molnar

sched, doc: Update sched-design-CFS.txt

Correct ->dequeue_tree() thinko into sched_class->dequeue_task
and drop all references to ->task_new() since it is obviously
gone.
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1300815978-16618-1-git-send-email-bp@amd64.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 20dd6740
...@@ -164,7 +164,7 @@ This is the (partial) list of the hooks: ...@@ -164,7 +164,7 @@ This is the (partial) list of the hooks:
It puts the scheduling entity (task) into the red-black tree and It puts the scheduling entity (task) into the red-black tree and
increments the nr_running variable. increments the nr_running variable.
- dequeue_tree(...) - dequeue_task(...)
When a task is no longer runnable, this function is called to keep the When a task is no longer runnable, this function is called to keep the
corresponding scheduling entity out of the red-black tree. It decrements corresponding scheduling entity out of the red-black tree. It decrements
...@@ -195,11 +195,6 @@ This is the (partial) list of the hooks: ...@@ -195,11 +195,6 @@ This is the (partial) list of the hooks:
This function is mostly called from time tick functions; it might lead to This function is mostly called from time tick functions; it might lead to
process switch. This drives the running preemption. process switch. This drives the running preemption.
- task_new(...)
The core scheduler gives the scheduling module an opportunity to manage new
task startup. The CFS scheduling module uses it for group scheduling, while
the scheduling module for a real-time task does not use it.
......
...@@ -94,6 +94,4 @@ static const struct sched_class idle_sched_class = { ...@@ -94,6 +94,4 @@ static const struct sched_class idle_sched_class = {
.prio_changed = prio_changed_idle, .prio_changed = prio_changed_idle,
.switched_to = switched_to_idle, .switched_to = switched_to_idle,
/* no .task_new for idle tasks */
}; };
...@@ -102,6 +102,4 @@ static const struct sched_class stop_sched_class = { ...@@ -102,6 +102,4 @@ static const struct sched_class stop_sched_class = {
.prio_changed = prio_changed_stop, .prio_changed = prio_changed_stop,
.switched_to = switched_to_stop, .switched_to = switched_to_stop,
/* no .task_new for stop tasks */
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment