Re: [PATCH v2 06/12] documentation: Add scheduler/sched-avg.txt

From: Peter Zijlstra
Date: Tue May 03 2016 - 04:50:30 EST


On Tue, May 03, 2016 at 05:54:32AM +0800, Yuyang Du wrote:
> This doc file has the programs to generate the constants to compute
> sched averages.
>
> Signed-off-by: Yuyang Du <yuyang.du@xxxxxxxxx>
> ---
> Documentation/scheduler/sched-avg.txt | 137 +++++++++++++++++++++++++++++++++
> 1 file changed, 137 insertions(+)
> create mode 100644 Documentation/scheduler/sched-avg.txt
>
> diff --git a/Documentation/scheduler/sched-avg.txt b/Documentation/scheduler/sched-avg.txt
> new file mode 100644
> index 0000000..ae4132f
> --- /dev/null
> +++ b/Documentation/scheduler/sched-avg.txt
> @@ -0,0 +1,137 @@
> +The following programs are used to generate the constants for
> +computing sched averages.
> +
> +==============================================================
> + C program (compile with -lm)
> +==============================================================

> +==============================================================
> + Python script if you speak snake
> +==============================================================

Please do not put two programs in one file. Also, I think I would prefer
it to be one program; having two just means they can drift apart and
create confusion.