Re: [PATCH] proc: Add RLIMIT_RTTIME to /proc/<pid>/limits

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: Michael Kerrisk <mtk.manpages@...>, Eugene Teo <eugeneteo@...>, <linux-kernel@...>, Neil Horman <nhorman@...>, Ingo Molnar <mingo@...>
Date: Friday, April 11, 2008 - 4:56 am

On Thu, Feb 28, 2008 at 5:21 PM, Peter Zijlstra <a.p.zijlstra@chello.nl> wrote:

So I have another question: why is the granularity of this rlimit
microseconds?  On the one hand, specifying limits down at the
microsecond level seems (to my naive eye) unlikely to be useful.  (But
perhaps I have missed a thread where this was explained.)  On the
other hand, it means that on 32-bit the largest time limit we can set
is ~4000 seconds, and I wonder if there are scenarios where it might
be useful to have larger limits than that.

Why not, for example, have a granularity of milliseconds?

Cheers,

Michael





-- 
Michael Kerrisk
Maintainer of the Linux man-pages project
http://www.kernel.org/doc/man-pages/
Want to report a man-pages bug? Look here:
http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] proc: Add RLIMIT_RTTIME to /proc/<pid>/limits, Michael Kerrisk, (Fri Apr 11, 4:56 am)
RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Fri Apr 18, 12:52 pm)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Mon Apr 28, 7:44 am)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Peter Zijlstra, (Mon Apr 28, 8:09 am)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Mon Apr 28, 8:14 am)