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 - 3:38 am

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

Peter,

I've been testing this patch.  Above you seemed to be saying that
doing a sched_yield() would be equivalent to a sleep, causing the rt
counter to be reset to zero.  Howver, the results I'm seeing suggest
that a sched_yield() does not cause the counter to be reset to zero
(i.e., despite calling sched_yield() at frequent intervals, the
process still encounters the RLIM_RTTIME soft limit and gets SIGXCPU).
 Can you comment?

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:
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)
Re: [PATCH] proc: Add RLIMIT_RTTIME to /proc/<pid>/limits, Michael Kerrisk, (Fri Apr 11, 3:38 am)