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@xxxxxxxxx> > Co-developed-by: Mostafa Chamanara <mostafa.chamanara@xxxxxxxxxxxx> > Signed-off-by: Mostafa Chamanara <mostafa.chamanara@xxxxxxxxxxxx> > Signed-off-by: John Mathew <john.mathew@xxxxxxxxxx> > --- [...] > +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