Re: [RFC PATCH 2/3] docs: scheduler: Add scheduler overview documentation

From: Jonathan Corbet
Date: Wed Apr 01 2020 - 10:36:27 EST


On Wed, 1 Apr 2020 04:54:03 -0700
Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> > +the CPU core. The main members of the :c:type:`struct rq <rq>` are:
> > +
> > +:c:member:`nr_running`
> > + Total number of tasks on the runqueue.
>
> This seems like it should be kernel-doc so the documentation is with the
> code ... meaning it might possibly get updated when the code changes as
> opposed to languishing over here.

That was my first impression as well.

Thanks for working on the docs; I'll take a closer look soon.

jon