lkml.org 
[lkml]   [2002]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] niceness magic numbers, 2.4.20-pre11
From
Date
> > > -#define	PRIO_MAX	20
> > > +#define PRIO_MAX 19
> >
> > I suspect this isnt correct
>
> Agreed. Its not.
>
> It should remain 20 and places that truly want 19 should do PRIO_MAX-1.

Please excuse my inexperience; I don't understand why a 41 value range
is defined instead, and faked as a 40. Is this merely for the
convinience of ignoring 0 ? From the nice manpage:

"Range goes from -20 (highest priority) to 19 (lowest)."

Thanks,
Kristis

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

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