diff options
| author | Siddha, Suresh B <[email protected]> | 2007-05-08 00:32:48 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-08 11:15:17 -0700 |
| commit | bdecea3a9282d529b54954f3f1e59877629baba1 (patch) | |
| tree | c7330b1cec4b4a9bf18657bc99100276343efc38 /include/linux | |
| parent | 2bd7e20e0d24325b0799544bc8105cc57cc8e2aa (diff) | |
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.
[[email protected]: Fix reverse idle at tick logic]
Signed-off-by: Suresh Siddha <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Nick Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions