All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher Friesen" <cfriesen@nortel.com>
To: linux-kernel@vger.kernel.org
Subject: scheduler parameter inheritance on clone()
Date: Mon, 07 Nov 2005 11:08:22 -0600	[thread overview]
Message-ID: <436F8A06.7090409@nortel.com> (raw)


The pthreads standard specifies that the default behaviour is that new 
threads should be created with the SCHED_OTHER policy and a priority of 0.

However, it appears that the kernel will create new tasks (be they 
threads or processes) with the same settings as the parent.

If CLONE_THREAD is set, should the kernel perhaps set the policy and 
priority as specified by pthreads?

Chris

             reply	other threads:[~2005-11-07 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-07 17:08 Christopher Friesen [this message]
2005-11-07 18:25 ` scheduler parameter inheritance on clone() -- correction Christopher Friesen

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=436F8A06.7090409@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=linux-kernel@vger.kernel.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 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.