mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Oeser <ioe-lkml@rameria.de>
To: Peter Zijlstra <a.p.zijlstra@chello.nl>
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, 7 Nov 2008 10:19:57 +0100	[thread overview]
Message-ID: <200811071020.06422.ioe-lkml@rameria.de> (raw)
In-Reply-To: <1225961212.7803.4190.camel@twins>

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...


Best Regards

Ingo Oeser

  reply	other threads:[~2008-11-07  9:20 UTC|newest]

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

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=200811071020.06422.ioe-lkml@rameria.de \
    --to=ioe-lkml@rameria.de \
    --cc=a.p.zijlstra@chello.nl \
    --cc=andreas.huber@keymile.com \
    --cc=dmitry.adamushko@gmail.com \
    --cc=efault@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®