Re: Copy-on-Write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux