login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Kerrisk <mtk.manpages@...>
Cc: Eugene Teo <eugeneteo@...>, <linux-kernel@...>, Neil Horman <nhorman@...>, Ingo Molnar <mingo@...>
Date: Thursday, February 28, 2008 - 11:21 am

On Thu, 2008-02-28 at 16:12 +0100, Michael Kerrisk wrote:

The rlimit sets a timeout in [us] for SCHED_RR and SCHED_FIFO tasks.
This time is measured between sleeps, so a schedule in RR or a
preemption in either is not a sleep - the task needs to be dequeued and
enqueued for the timer to reset.

Upon reaching the cur limit we start giving SIGXCPU every second, upon
reaching the hard limit we give SIGKILL - matching RLIMIT_CPU.

Time is measured in tick granularity (for now).


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] proc: Add RLIMIT_RTTIME to /proc/<pid>/limits, Peter Zijlstra, (Thu Feb 28, 11:21 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)
speck-geostationary