SCHED_IDLE documentation

From: Arnd Bergmann
Date: Mon Mar 03 2008 - 01:22:24 EST


On Monday 03 March 2008, Christoph Hellwig wrote:
> On Mon, Mar 03, 2008 at 06:12:27AM +0100, Arnd Bergmann wrote:
> > > I'm okay with the algorithm, but please don't use policy == SCHED_IDLE
> > > as the flag for it. ?SCHED_IDLE is a user-visible and user-settable
> > > scheduler class and we shouldn't overload this.
> >
> > Ah, didn't know that. Is that a fairly recent interface in Linux? I can't
> > find any reference to it in the sched_setscheduler man page, though the
> > mail archives have numerous discussions about the semantics throughout
> > the last 10 years.
>
> It went in with the CFS scheduler and is indeed as far as I can tell
> totally undocumented (sigh..)

So was there no documentation written for it, or does the new man page
just need to make it into distro releases?

If we don't have any man page, what is the actual definition of SCHED_IDLE
anyway?

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/