• Gregory Haskins's avatar
    sched: add avg-overlap support to RT tasks · 2087a1ad
    Gregory Haskins authored
    We have the notion of tracking process-coupling (a.k.a. buddy-wake) via
    the p->se.last_wake / p->se.avg_overlap facilities, but it is only used
    for cfs to cfs interactions.  There is no reason why an rt to cfs
    interaction cannot share in establishing a relationhip in a similar
    manner.
    
    Because PREEMPT_RT runs many kernel threads as FIFO priority, we often
    times have heavy interaction between RT threads waking CFS applications.
    This patch offers a substantial boost (50-60%+) in perfomance under those
    circumstances.
    Signed-off-by: default avatarGregory Haskins <ghaskins@novell.com>
    Cc: npiggin@suse.de
    Cc: rostedt@goodmis.org
    Acked-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    2087a1ad
sched_fair.c 40.3 KB