• Peter Williams's avatar
    sched: reduce balance-tasks overhead · e1d1484f
    Peter Williams authored
    At the moment, balance_tasks() provides low level functionality for both
      move_tasks() and move_one_task() (indirectly) via the load_balance()
    function (in the sched_class interface) which also provides dual
    functionality.  This dual functionality complicates the interfaces and
    internal mechanisms and makes the run time overhead of operations that
    are called with two run queue locks held.
    
    This patch addresses this issue and reduces the overhead of these
    operations.
    Signed-off-by: default avatarPeter Williams <pwil3058@bigpond.net.au>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    e1d1484f
sched_idletask.c 1.89 KB