Re: [PATCH 2/2] treewide: remove all open implementation of nice_to_rlimit()/rlimit_to_nice().

From: Peter Zijlstra
Date: Thu May 08 2014 - 11:26:25 EST


On Thu, May 08, 2014 at 10:51:13PM +0800, Dongsheng Yang wrote:
> Just want to avoid using hardcoding of 20. If no, there is no meaning we
> collect
> priority related information into prio.h. And convertion between nice
> value [-20,19]
> and rlimit style value [0,40] is used by several callers currently.
>

Yeah, not really a comment on your patch, just a general observation on
the thing you touched :-)

Attachment: pgpSV9L4oTxHF.pgp
Description: PGP signature