From: Siddha, Suresh B Date: Tue, 8 May 2007 07:32:48 +0000 (-0700) Subject: sched: fix idle load balancing in softirqd context X-Git-Tag: v2.6.22-rc1~580 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdecea3a9282d529b54954f3f1e59877629baba1;p=pandora-kernel.git sched: fix idle load balancing in softirqd context Periodic load balancing in recent kernels happen in the softirq. In certain -rt configurations, these softirqs are handled in softirqd context. And hence the check for idle processor was always returning busy (as nr_running > 1). This patch captures the idle information at the tick and passes this info to softirq context through an element 'idle_at_tick' in rq. [kernel@kolivas.org: Fix reverse idle at tick logic] Signed-off-by: Suresh Siddha Acked-by: Ingo Molnar Cc: Thomas Gleixner Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed