From: Brandon Philips <brandon@ifup.org>
To: Renê <rene@grad.icmc.usp.br>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Copy-on-Write
Date: Tue, 12 Feb 2008 21:44:11 -0800 [thread overview]
Message-ID: <20080213054411.GA30574@plankton.ifup.org> (raw)
In-Reply-To: <5f9618380802071809v24f2be47xc9aea8664a8f8488@mail.gmail.com>
On 00:09 Fri 08 Feb 2008, Renê wrote:
> What kernel version did you get this code?
It exists in 2.6.23+ IIRC. Poke around at the git-log for
kernel/sched.c
Cheers,
Brandon
> On Feb 7, 2008 9:46 PM, Brandon Philips <brandon@ifup.org> wrote:
> > On 22:30 Thu 07 Feb 2008, Mulyadi Santosa wrote:
> > > 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.
> >
> > $ sysctl -w kernel.sched_child_runs_first=0
> >
> > Also available here: /proc/sys/kernel/sched_child_runs_first
> >
> > Cheers,
> >
> > Brandon
-
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
prev parent reply other threads:[~2008-02-13 5:44 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 ` Copy-on-Write Mulyadi Santosa
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 ` Brandon Philips [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=20080213054411.GA30574@plankton.ifup.org \
--to=brandon@ifup.org \
--cc=linux-newbie@vger.kernel.org \
--cc=rene@grad.icmc.usp.br \
/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