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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Kerrisk
Date: Thursday, February 28, 2008 - 8:44 am

Peter,

Thanks for the text.

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

Just to clarify: sleep here means a call to some blocking syscall
(e.g., nanosleep(), read(), select(), etc.), right?  Is there anything
else that falls under the category of "sleep"?  What about a call to
sched_yield() where the process explicitly lets go of the CPU?

Also, is this limit per-thread or per-process?  I assume the latter --
but can you confirm please.

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, (Thu Feb 28, 8:44 am)
RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Fri Apr 18, 9:52 am)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Mon Apr 28, 4:44 am)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Peter Zijlstra, (Mon Apr 28, 5:09 am)
Re: RLIMIT_RTTIME documentation for getrlimit.2, Michael Kerrisk, (Mon Apr 28, 5:14 am)