• P
    sched: Fix nr_uninterruptible count · cc87f76a
    Peter Zijlstra 提交于
    The cpuload calculation in calc_load_account_active() assumes
    rq->nr_uninterruptible will not change on an offline cpu after
    migrate_nr_uninterruptible(). However the recent migrate on wakeup
    changes broke that and would result in decrementing the offline cpu's
    rq->nr_uninterruptible.
    
    Fix this by accounting the nr_uninterruptible on the waking cpu.
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    cc87f76a
sched.c 216.7 KB