[lkml]   [2008]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] kthread: always create the kernel threads with normal priority

> > This causes a practical problem. When a runaway real-time task is
> > eating 100% CPU and we attempt to put the CPU offline, sometimes we
> > block while waiting for the creation of the highest-priority
> > "kstopmachine" thread.

sched-devel.git has new mechanisms against runaway RT tasks. There's a
new RLIMIT_RTTIME rlimit - if an RT task exceeds that rlimit then it is

there's also a new group scheduling extension that is driven via a


this way if a user has a runaway RT task, other users (and root) will
still have some CPU time left. (in Peter's latest patchset that is
replaced via rt_runtime_ns - but this is a detail)

so instead of the never-ending arms race of kernel thread priorities
against RT task priorities, we are going towards making RT tasks safer
on a policy level.


 \ /
  Last update: 2008-01-07 12:11    [W:0.138 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site