lkml.org 
[lkml]   [2000]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Patch: 2.4.0-test3 still had some current->priority references
From
Date
"Adam J. Richter" <adam@yggdrasil.com> writes:

> Also, the bounds appear to be different. task_struct->priority
> ranged from 0..40 (41 possible values), while task_struct->nice

I think it ranged from 0..39. If it was going up to 40 it was wrong.

> ranges from -20 to 19 (40 possible values). So, priority=0 maps
> to nice=19.

--
Dimitris Michailidis dimitris@engr.sgi.com

-
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.019 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site