From: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
To: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: Eugene Teo <eugeneteo-X4ZF2iejbADYtjvyW6yDsg@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Neil Horman <nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>,
Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>,
linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: RLIMIT_RTTIME documentation for getrlimit.2
Date: Mon, 28 Apr 2008 14:09:20 +0200 [thread overview]
Message-ID: <1209384560.13978.9.camel@twins> (raw)
In-Reply-To: <cfd18e0f0804280444jd558060g6cf5ee7df0248ee1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Mon, 2008-04-28 at 13:44 +0200, Michael Kerrisk wrote:
> Hey Peter,
>
> Ping!
Thanks for the reminder ;-)
> Cheers,
>
> Michael
>
>
> ---------- Forwarded message ----------
> From: Michael Kerrisk <mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
> Date: Fri, Apr 18, 2008 at 6:52 PM
> Subject: RLIMIT_RTTIME documentation for getrlimit.2
> To: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
> Cc: Eugene Teo <eugeneteo-X4ZF2iejbADYtjvyW6yDsg@public.gmane.org>, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
> Neil Horman <nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org>, Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>,
> linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>
>
> Peter,
>
> Below is the draft text that I will add to the getrlimit.2 man page to describe
> RLIMIT_RTTIME. Does it look okay to you? (I will add a pointer in
> sched_setscheduler.2 to this description in getrlimit.2.)
>
> RLIMIT_RTTIME (Since Linux 2.6.25)
> Specifies a limit on the amount of CPU time that a
> process scheduled under a real-time scheduling
> policy may consume without making a blocking sys-
> tem call. For the purpose of this limit, each
> time a process makes a blocking system call, the
> count of its consumed CPU time is reset to zero.
> The CPU time count is not reset if the process
> continues trying to use the CPU but is preempted,
> its time slice expires, or it calls
> sched_yield(2).
>
> Upon reaching the soft limit, the process is sent
> a SIGXCPU signal. If the process catches or
> ignores this signal and continues consuming CPU
> time, then SIGXCPU will be generated once each
> second until the hard limit is reached, at which
> point the process is sent a SIGKILL signal.
>
> The intended use of this limit is to stop a run-
> away real-time process from locking up the system.
Looks excellent, thanks!
Acked-by: Peter Zijlstra <a.p.zijlstra-/NLkJaSkS4VmR6Xm/wNWPw@public.gmane.org>
in so far that is applicable to man pages ;-)
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Michael Kerrisk <mtk.manpages@googlemail.com>
Cc: Eugene Teo <eugeneteo@kernel.sg>,
linux-kernel@vger.kernel.org, Neil Horman <nhorman@tuxdriver.com>,
Ingo Molnar <mingo@elte.hu>,
linux-man@vger.kernel.org
Subject: Re: RLIMIT_RTTIME documentation for getrlimit.2
Date: Mon, 28 Apr 2008 14:09:20 +0200 [thread overview]
Message-ID: <1209384560.13978.9.camel@twins> (raw)
In-Reply-To: <cfd18e0f0804280444jd558060g6cf5ee7df0248ee1@mail.gmail.com>
On Mon, 2008-04-28 at 13:44 +0200, Michael Kerrisk wrote:
> Hey Peter,
>
> Ping!
Thanks for the reminder ;-)
> Cheers,
>
> Michael
>
>
> ---------- Forwarded message ----------
> From: Michael Kerrisk <mtk.manpages@googlemail.com>
> Date: Fri, Apr 18, 2008 at 6:52 PM
> Subject: RLIMIT_RTTIME documentation for getrlimit.2
> To: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Cc: Eugene Teo <eugeneteo@kernel.sg>, linux-kernel@vger.kernel.org,
> Neil Horman <nhorman@tuxdriver.com>, Ingo Molnar <mingo@elte.hu>,
> linux-man@vger.kernel.org
>
>
> Peter,
>
> Below is the draft text that I will add to the getrlimit.2 man page to describe
> RLIMIT_RTTIME. Does it look okay to you? (I will add a pointer in
> sched_setscheduler.2 to this description in getrlimit.2.)
>
> RLIMIT_RTTIME (Since Linux 2.6.25)
> Specifies a limit on the amount of CPU time that a
> process scheduled under a real-time scheduling
> policy may consume without making a blocking sys-
> tem call. For the purpose of this limit, each
> time a process makes a blocking system call, the
> count of its consumed CPU time is reset to zero.
> The CPU time count is not reset if the process
> continues trying to use the CPU but is preempted,
> its time slice expires, or it calls
> sched_yield(2).
>
> Upon reaching the soft limit, the process is sent
> a SIGXCPU signal. If the process catches or
> ignores this signal and continues consuming CPU
> time, then SIGXCPU will be generated once each
> second until the hard limit is reached, at which
> point the process is sent a SIGKILL signal.
>
> The intended use of this limit is to stop a run-
> away real-time process from locking up the system.
Looks excellent, thanks!
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
in so far that is applicable to man pages ;-)
next prev parent reply other threads:[~2008-04-28 12:09 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-08 14:59 [PATCH] proc: Add RLIMIT_RTTIME to /proc/<pid>/limits Eugene Teo
2008-02-08 15:10 ` Peter Zijlstra
2008-02-28 15:12 ` Michael Kerrisk
2008-02-28 15:21 ` Peter Zijlstra
2008-02-28 15:44 ` Michael Kerrisk
2008-02-28 15:50 ` Peter Zijlstra
2008-04-11 7:38 ` Michael Kerrisk
2008-04-11 7:45 ` Peter Zijlstra
2008-04-11 8:01 ` Michael Kerrisk
2008-02-29 12:32 ` Neil Horman
2008-04-11 8:56 ` Michael Kerrisk
2008-04-11 9:01 ` Peter Zijlstra
2008-04-11 9:16 ` Michael Kerrisk
2008-04-11 9:21 ` Peter Zijlstra
2008-04-11 9:27 ` Michael Kerrisk
2008-04-11 9:32 ` Peter Zijlstra
2008-04-11 9:38 ` Michael Kerrisk
[not found] ` <cfd18e0f0804110238l66fb60c8pa8ac934a2a43baa7-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-18 16:52 ` RLIMIT_RTTIME documentation for getrlimit.2 Michael Kerrisk
2008-04-18 16:52 ` Michael Kerrisk
[not found] ` <4808D1CC.80103-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-04-28 11:44 ` Michael Kerrisk
2008-04-28 11:44 ` Michael Kerrisk
[not found] ` <cfd18e0f0804280444jd558060g6cf5ee7df0248ee1-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-04-28 12:09 ` Peter Zijlstra [this message]
2008-04-28 12:09 ` Peter Zijlstra
2008-04-28 12:14 ` Michael Kerrisk
2008-04-28 12:14 ` Michael Kerrisk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1209384560.13978.9.camel@twins \
--to=a.p.zijlstra-/nlkjasks4vmr6xm/wnwpw@public.gmane.org \
--cc=eugeneteo-X4ZF2iejbADYtjvyW6yDsg@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=mingo-X9Un+BFzKDI@public.gmane.org \
--cc=mtk.manpages-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
--cc=nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.