Re: [PATCH 2/2] cgroup, docs: Document interaction of RT processes with cpu controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On Fri, Mar 28, 2025 at 10:45:02AM +0000, "Shashank.Mahadasyam@xxxxxxxx" <Shashank.Mahadasyam@xxxxxxxx> wrote:
> Given the different scheduling classes (fair, ext, rt, deadline), it would be nice
> to document which cpu interface files are related to which scheduling classes.
> Like, cpu.idle applies to only the fair class, cpu.weight applies to the fair class,
> as well as ext, if configured so, cpu.stat accounts for all classes
> (I'm not sure about this, I haven't tested this yet), etc.
> 
> The proposed patch is in this direction, but just for the rt class. Any suggestions
> on how this intent can be made clearer? How about something like this:

Classes are implementation terminology but userspace knows this under
scheduling policies (SCHED_NORMAL,..., SCHED_EXT). It might be better to
use that categories.

> 
> CPU Interface Files
> ~~~~~~~~~~~~~~~~~~~
> 
> All time durations are in microseconds. The scheduling classes mentioned beside
> the interface files are the only classes they are related to.

list of related <categories> is only indicative as implementation may change

(Even when talking about policies I think the relation still tends to be
an implementation detail, so I'd also add something like the above. But
I think it's good to have such an overview to know what is where
implemented.)

HTH,
Michal

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux