Re: Patch: 2.4.0-test3 still had some current->priority references

From: Albert D. Cahalan (acahalan@cs.uml.edu)
Date: Tue Jul 11 2000 - 02:30:31 EST


Adam J. Richter writes:

> In 2.4.0-test3, task_struct->priority became task_struct->nice,
> and the number stored in the field changed, apparently according to
> the following relationship:
>
> task_struct->nice = 20 - task_struct->priority;
>
> Also, the bounds appear to be different. task_struct->priority
> ranged from 0..40 (41 possible values), while task_struct->nice
> ranges from -20 to 19 (40 possible values). So, priority=0 maps
> to nice=19.

It sure would be nice to have seen the original change mentioned
on linux-kernel for all to see. I dearly hope userspace isn't going
to care about the loss of a value.

May I assume that /proc has been fully adjusted so procps will
be happy? I've fallen behind in reading kernel patches.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:12 EST