From: Peter Zijlstra Date: Fri, 26 Mar 2010 11:22:14 +0000 (+0100) Subject: sched: Fix nr_uninterruptible count X-Git-Tag: v2.6.35-rc1~521^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc87f76a601d2d256118f7bab15e35254356ae21;p=pandora-kernel.git 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 LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed