All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Ingo Oeser <ioe-lkml@rameria.de>
Cc: Ingo Molnar <mingo@elte.hu>,
	Andreas Huber <andreas.huber@keymile.com>,
	linux-kernel@vger.kernel.org, Mike Galbraith <efault@gmx.de>,
	Dmitry Adamushko <dmitry.adamushko@gmail.com>
Subject: Re: Scheduler RR, first time slice wrong?
Date: Fri, 07 Nov 2008 13:31:02 +0100	[thread overview]
Message-ID: <1226061062.2697.26.camel@twins> (raw)
In-Reply-To: <200811071020.06422.ioe-lkml@rameria.de>

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 ;-)




      reply	other threads:[~2008-11-07 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06  7:22 Scheduler RR, first time slice wrong? Andreas Huber
2008-11-06  7:44 ` Ingo Molnar
2008-11-06  8:46   ` Peter Zijlstra
2008-11-07  9:19     ` Ingo Oeser
2008-11-07 12:31       ` Peter Zijlstra [this message]

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=1226061062.2697.26.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=andreas.huber@keymile.com \
    --cc=dmitry.adamushko@gmail.com \
    --cc=efault@gmx.de \
    --cc=ioe-lkml@rameria.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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.