Messages in this thread | | | Date | Thu, 7 Sep 2000 15:41:42 -0300 (BRST) | From | Rik van Riel <> | Subject | Re: Is a process with a priority of 0 legal ? |
| |
On Thu, 7 Sep 2000 DJBARROW@de.ibm.com 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).
regards,
Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |