diff options
author | 2010-03-26 12:22:14 +0100 | |
---|---|---|
committer | 2010-04-02 20:12:04 +0200 | |
commit | cc87f76a601d2d256118f7bab15e35254356ae21 (patch) | |
tree | 1fea5a4ad226e030cdeb14c82f12dc8e766be8b2 /net/ipv4/tcp_timer.c | |
parent | sched: Optimize task_rq_lock() (diff) | |
download | linux-dev-cc87f76a601d2d256118f7bab15e35254356ae21.tar.xz linux-dev-cc87f76a601d2d256118f7bab15e35254356ae21.zip |
sched: Fix nr_uninterruptible count
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: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions