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 <[EMAIL PROTECTED]> wrote:
> > On 22:30 Thu 07 Feb 2008, Mulyadi Santosa wrote:
> > > On Feb 6, 2008 12:49 PM, Rick Brown <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to