lkml.org 
[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Where is RLIMIT_RT_CPU?
From
Date
On Wed, 2006-07-12 at 10:23 +1000, Jean-Marc Valin wrote:
> Hi,
>
> I saw many references to RLIMIT_RT_CPU (e.g. in
> http://lwn.net/Articles/120797/ ) as a way of limiting the amount of CPU
> an unprivileged task can use at real-time priority. My understand was
> that the feature had been merged into 2.6.12 as part of Ingo's rt-limit
> patches. Unfortunately, I can't find any reference to that on my system
> (latest Ubuntu), so I'm wondering where it's gone. Has it been removed,
> renamed, ...? Considering that Ubuntu Dapper currently allows any user
> to make unlimited use of realtime scheduling, this feature would be
> really useful to prevent user apps from accidently crashing the system.

It was not merged.

This problem should be addressed by a userspace RT watchdog. Ubuntu
should not have shipped their system with unlimited non-root realtime
enabled and no watchdog.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-13 18:47    [W:1.512 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site