lkml.org 
[lkml]   [2008]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Scheduler RR, first time slice wrong?
From
Date
On Fri, 2008-11-07 at 10:19 +0100, Ingo Oeser wrote:
> Hi Peter,
>
> On Thursday 06 November 2008, Peter Zijlstra wrote:
> > Currently we inherit the RR time-slice from our parent. In case that is
> > init we inherit the 1s value set by default, in case its an already
> > running RR task, we inherit whatever is left.
> >
> > Fix both these by resetting the time-slice on fork.
>
> I remember that this MIGHT be on purpose to mitigate fork bombs.
>
> Behaviour was, that you could starve others, if you fork,
> do little or no work and fork again before your timeslice is over.
>
> But I'm not sure this applies here...

Right, RT tasks have it easy starving stuff ;-)





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