[Cbe-oss-dev] [PATCH] [POWERPC] spufs: fix scheduler starvation by idle contexts

Christoph Hellwig hch at lst.de
Mon Mar 3 16:17:19 EST 2008


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..)




More information about the cbe-oss-dev mailing list