Re: Is a process with a priority of 0 legal ?

From: Rik van Riel (
Date: Thu Sep 07 2000 - 13:41:42 EST

On Thu, 7 Sep 2000 wrote:

> If the weight & priority of all runnable processes is 0 then the
> recalculate with recalculate p->counter=0 for all runnable
> processes, & the code will go into a tight loop between the
> goodness calculation & recalculate.

p->priority can never become 0. The minimum value allowed
is 1.

The only way the value could become 0 is when something
scribbles all over memory (and in that case I'd prefer a
hang to possible data corruption).



"What you're running that piece of shit Gnome?!?!"
       -- Miguel de Icaza, UKUUG 2000

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:31 EST