Re: 2.5.74-mm1

Davide Libenzi
2003-07-06T02:14:15Z

On Sun, 6 Jul 2003, Daniel Phillips wrote:

> On Sunday 06 July 2003 03:28, Jamie Lokier wrote:
> >
> > Your last point is most important. At the moment, a SCHED_RR process
> > with a bug will basically lock up the machine, which is totally
> > inappropriate for a user app.
>
> How does the lockup come about? As defined, a single SCHED_RR process could
> lock up only its own slice of CPU, as far as I can see.

They're de-queued and re-queue in the active array w/out having dynamic
priority adjustment (like POSIX states). This means that any task with
lower priority will starve if the RR task will not release the CPU.

- Davide