aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorWenyu Huang <huangwenyu5@huawei.com>2023-11-25 02:05:27 +0000
committerIngo Molnar <mingo@kernel.org>2023-11-26 16:24:48 +0100
commit0257e5a3c26b3810831359d39c0821397af8bf29 (patch)
treef2b0a9164c07875c95016772b975caa0289e406a /Documentation/scheduler
parentsched/cpufreq: Rework iowait boost (diff)
downloadwireguard-linux-0257e5a3c26b3810831359d39c0821397af8bf29.tar.xz
wireguard-linux-0257e5a3c26b3810831359d39c0821397af8bf29.zip
sched/doc: Update documentation after renames and synchronize Chinese version
Update the documentation after these changes, which didn't entirely propagate the changes: e23edc86b09d ("sched/fair: Rename check_preempt_curr() to wakeup_preempt()") 03b7fad167ef ("sched: Add task_struct pointer to sched_class::set_curr_task") 2f88c8e802c8 ("sched/eevdf/doc: Modify the documented knob to base_slice_ns as well") [ mingo: Reworked the changelog. ] Signed-off-by: Wenyu Huang <huangwenyu5@huawei.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'Documentation/scheduler')
-rw-r--r--Documentation/scheduler/sched-design-CFS.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/scheduler/sched-design-CFS.rst b/Documentation/scheduler/sched-design-CFS.rst
index f68919800f05..6cffffe26500 100644
--- a/Documentation/scheduler/sched-design-CFS.rst
+++ b/Documentation/scheduler/sched-design-CFS.rst
@@ -180,7 +180,7 @@ This is the (partial) list of the hooks:
compat_yield sysctl is turned on; in that case, it places the scheduling
entity at the right-most end of the red-black tree.
- - check_preempt_curr(...)
+ - wakeup_preempt(...)
This function checks if a task that entered the runnable state should
preempt the currently running task.
@@ -189,10 +189,10 @@ This is the (partial) list of the hooks:
This function chooses the most appropriate task eligible to run next.
- - set_curr_task(...)
+ - set_next_task(...)
- This function is called when a task changes its scheduling class or changes
- its task group.
+ This function is called when a task changes its scheduling class, changes
+ its task group or is scheduled.
- task_tick(...)