Re: [PATCH] niceness magic numbers, 2.4.20-pre11

Robert Love (rml@tech9.net)
23 Oct 2002 15:52:52 -0400


On Wed, 2002-10-23 at 04:16, Alan Cox wrote:

> On Wed, 2002-10-23 at 07:37, Randy.Dunlap wrote:
> > --- ./include/linux/resource.h.nice Tue Jun 18 20:10:36 2002
> > +++ ./include/linux/resource.h Sat Oct 19 13:55:10 2002
> > @@ -43,7 +43,7 @@
> > };
> >
> > #define PRIO_MIN (-20)
> > -#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.

The idea of cleaning up the magic numbers is fine, otherwise..

Robert Love

-
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/