LWN.net Logo

Value range

Value range

Posted May 5, 2005 21:28 UTC (Thu) by phiggins (subscriber, #5605)
In reply to: Value range by Ross
Parent article: Audio latency - resource limits win

I was thinking the same thing at first, but since we are talking about a limit, it makes more sense to have increasing privilege correspond to an increasing limit. That way it's more like all the other limits. It's really the negative values for nice that are weird.


(Log in to post comments)

Value range

Posted May 6, 2005 23:48 UTC (Fri) by giraffedata (subscriber, #1954) [Link]

You're both right. The name should be RLIMIT_MEAN. A limit on how mean you can be.

I don't know anything about the early history of nice, but I suspect the negative values were an add-on. I think someone setting out to design a general CPU share setting wouldn't do it that way.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds