[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200401122014.GW14300@localhost.localdomain>
Date: Wed, 1 Apr 2020 14:20:14 +0200
From: Juri Lelli <juri.lelli@...hat.com>
To: John Mathew <john.mathew@...kie.com>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
corbet@....net, mingo@...hat.com, peterz@...radead.org,
vincent.guittot@...aro.org, dietmar.eggemann@....com,
rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
bristot@...hat.com, tsbogend@...ha.franken.de,
lukas.bulwahn@...il.com, x86@...nel.org,
linux-mips@...r.kernel.org, tglx@...utronix.de,
mostafa.chamanara@...emark.com
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@...il.com>
> Co-developed-by: Mostafa Chamanara <mostafa.chamanara@...emark.com>
> Signed-off-by: Mostafa Chamanara <mostafa.chamanara@...emark.com>
> Signed-off-by: John Mathew <john.mathew@...kie.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
Powered by blists - more mailing lists