Messages in this thread | | | Date | Tue, 11 Jul 2000 03:30:31 -0400 (EDT) | From | "Albert D. Cahalan" <> | Subject | Re: Patch: 2.4.0-test3 still had some current->priority references |
| |
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/
| |