public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lennart Poettering <mzxreary@0pointer.de>
To: linux-kernel@vger.kernel.org
Cc: peterz@infradead.org
Subject: Re: [PATCH 3/3] scheduler: introduce SCHED_RESET_ON_FORK scheduling policy flag
Date: Thu, 28 May 2009 16:15:55 +0200	[thread overview]
Message-ID: <20090528141555.GA17373@tango.0pointer.de> (raw)
In-Reply-To: <20090528140953.GA16470@omega>

On Thu, 28.05.09 16:09, Lennart Poettering (mzxreary@0pointer.de) wrote:

Please ignore the 3/3 in the subject of the original patch. It's just
this one patch. Sorry for the confusion.

> This patch introduces a new flag SCHED_RESET_ON_FORK which can be passed
> to the kernel via sched_setscheduler(), ORed in the policy parameter. If
> set this will make sure that when the process forks a) the scheduling
> priority is reset to DEFAULT_PRIO if it was higher and b) the scheduling
> policy is reset to SCHED_NORMAL if it was either SCHED_FIFO or SCHED_RR.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

      reply	other threads:[~2009-05-28 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 14:09 [PATCH 3/3] scheduler: introduce SCHED_RESET_ON_FORK scheduling policy flag Lennart Poettering
2009-05-28 14:15 ` Lennart Poettering [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=20090528141555.GA17373@tango.0pointer.de \
    --to=mzxreary@0pointer.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /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