Re: [PATCH] CFS: Fix missing digit off in wmult table

From: Peter Zijlstra
Date: Wed Jul 18 2007 - 09:28:24 EST


On Wed, 2007-07-18 at 15:07 +0200, Roman Zippel wrote:
> Hi,
>
> On Wed, 18 Jul 2007, Peter Zijlstra wrote:
>
> > By breaking the UNIX model of nice levels. Not an option in my book.
>
> Breaking user expectations of nice levels is?

http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap03.html

specifically:

"3.239 Nice Value

A number used as advice to the system to alter process scheduling.
Numerically smaller values give a process additional preference when
scheduling a process to run. Numerically larger values reduce the
preference and make a process less likely to run. Typically, a process
with a smaller nice value runs to completion more quickly than an
equivalent process with a higher nice value. The symbol {NZERO}
specifies the default nice value of the system."


The only expectation is that a process with a lower nice level gets more
time. Any other expectation is a bug.



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