On 22:30 Thu 07 Feb 2008, Mulyadi Santosa wrote:
> On Feb 6, 2008 12:49 PM, Rick Brown <rick.brown.3@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
[Site Home]
[Audio]
[Hams]
[Kernel Newbies]
[Memory]
[Security]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite Photos]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Samba]
[Video 4 Linux]
[Linux Resources]
[Fedora Users]