]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Documentation: Clarify time slice handling in task lifecycle
authorAndrea Righi <arighi@nvidia.com>
Mon, 9 Jun 2025 16:23:42 +0000 (18:23 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 Jun 2025 16:28:33 +0000 (06:28 -1000)
commit9465f44d2df21b43f062de303e59e2b391eeab16
treee179eaab8f2a0e391dd39bee3ab57ce8bca6ce47
parent086ed90a6453873d4c5d51a18c26b3548af4fa24
sched_ext: Documentation: Clarify time slice handling in task lifecycle

It is not always obvious how a task's time slice can be refilled, either
explicitly from ops.dispatch() or automatically by the sched_ext core,
to skip subsequent ops.enqueue() and ops.dispatch() calls. This
typically happens when the task is the only one running on a CPU.

To make this behavior easier to understand, update the task lifecycle
diagram to explicitly document how time slice handling works in such
cases.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/scheduler/sched-ext.rst