Messages in this thread | | | Date | Wed, 1 Apr 2020 14:20:14 +0200 | From | Juri Lelli <> | Subject | Re: [RFC PATCH 2/3] docs: scheduler: Add scheduler overview documentation |
| |
Hi,
On 01/04/20 13:00, John Mathew wrote: > Add documentation for > -scheduler overview > -scheduler state transtion > -CFS overview > -CFS data structs > > Add rst for scheduler APIs and modify sched/core.c > to add kernel-doc comments. > > Suggested-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> > Co-developed-by: Mostafa Chamanara <mostafa.chamanara@basemark.com> > Signed-off-by: Mostafa Chamanara <mostafa.chamanara@basemark.com> > Signed-off-by: John Mathew <john.mathew@unikie.com> > ---
[...]
> +Kernel forwards the tasks to each class based on the scheduling policy assigned > +to each task. Tasks assigned with SCHED_NORMAL, SCHED_IDLE and SCHED_BATCH > +go to fair_sched_class and tasks assigned with SCHED_RR and SCHED_FIFO go to > +rt_sched_class
I think you also need to mention that SCHED_DEADLINE goes to dl_sched_class.
[...]
> +*poicy:* Value for scheduling policy. The possible values are: > + > +* SCHED_NORMAL: Regular tasks use this policy. > + > +* SCHED_BATCH: Tasks which need to run longer without pre-emption use this > + policy. Suitable for batch jobs. > +* SCHED_IDLE: Policy used by background tasks. > + > +* SCHED_FIFO & SCHED_RR: These policies for real time tasks. Handled by real > + time scheduler.
Here as well. Maybe add also a pointer to related documentation?
Documentation/scheduler/sched-deadline.txt
Thanks,
Juri
| |