lkml.org 
[lkml]   [2000]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.046 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site