public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: Rick Brown <rick.brown.3@gmail.com>
Cc: kernelnewbies <kernelnewbies@nl.linux.org>, linux-newbie@vger.kernel.org
Subject: Re: Copy-on-Write
Date: Thu, 7 Feb 2008 22:30:48 +0700	[thread overview]
Message-ID: <f284c33d0802070730s7dcc2735o77fe1d655e4220cc@mail.gmail.com> (raw)
In-Reply-To: <7783925d0802052149g125a6497rabf866130edbaf78@mail.gmail.com>

Hi....

On Feb 6, 2008 12:49 PM, Rick Brown <rick.brown.3@gmail.com> wrote:
> So in linux, is a child run first or the parent? Can we rely on this
> information?

Hm, this might be the answer:
http://lxr.linux.no/linux/kernel/sched.c#L1663

it says:
unsigned int __read_mostly sysctl_sched_child_runs_first = 1;

and I guess it has relationship with certain /proc or /sys entry.

regards,

Mulyadi.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2008-02-07 15:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06  5:49 Copy-on-Write Rick Brown
2008-02-06 11:00 ` Copy-on-Write Manish Katiyar
2008-02-06 12:33   ` Copy-on-Write Rajat Jain
2008-02-06 12:41     ` Copy-on-Write Manish Katiyar
2008-02-06 13:17     ` Copy-on-Write Daniel Cheng
2008-02-07 15:30 ` Mulyadi Santosa [this message]
2008-02-07 23:46   ` Copy-on-Write Brandon Philips
2008-02-08  2:11     ` Copy-on-Write Renê
     [not found]     ` <5f9618380802071809v24f2be47xc9aea8664a8f8488@mail.gmail.com>
2008-02-13  5:44       ` Copy-on-Write Brandon Philips

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=f284c33d0802070730s7dcc2735o77fe1d655e4220cc@mail.gmail.com \
    --to=mulyadi.santosa@gmail.com \
    --cc=kernelnewbies@nl.linux.org \
    --cc=linux-newbie@vger.kernel.org \
    --cc=rick.brown.3@gmail.com \
    /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