Re: [tip:sched/core] sched: Turn off child_runs_first
From: Chris Friesen
Date: Wed Sep 09 2009 - 15:01:33 EST
On 09/09/2009 12:08 PM, Ingo Molnar wrote:
>
>
* Theodore Tso <tytso@xxxxxxx> wrote:
>
> Wasn't one of the reasons why we historically did child_runs_first
>
> was so that for fork/exit workloads, the child has a chance to
>
> exec the new process? If the parent runs first, then more pages
>
> will probably need to be COW'ed.
>
>
That kind of workload should be using vfork() anyway, and be even
>
faster because it can avoid the fork overhead, right?
According to my man page, POSIX.1-2008 removes the specification of
vfork().
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/