• Peter Zijlstra's avatar
    sched: Add WF_FORK · a7558e01
    Peter Zijlstra authored
    Avoid the cache buddies from biasing the time distribution away
    from fork()ers. Normally the next buddy will be the preferred
    scheduling target, but this makes fork()s prefer to run the new
    child, whereas we prefer to run the parent, since that will
    generate more work.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    a7558e01
sched_fair.c 46.1 KB