[RFC][PATCH 1/2] sched: fair-group: rework load_balance_monitor

2008-02-14 Thread Peter Zijlstra
The biggest issue with load_balance_monitor atm is that it never goes to sleep, and generates a huge amount of wakeups, even on idle systems. I tried doing a simple interruptible sleep on idle, but wake_up_process can't be used while holding the rq lock, so that didn't quite work out. The next

[RFC][PATCH 1/2] sched: fair-group: rework load_balance_monitor

2008-02-14 Thread Peter Zijlstra
The biggest issue with load_balance_monitor atm is that it never goes to sleep, and generates a huge amount of wakeups, even on idle systems. I tried doing a simple interruptible sleep on idle, but wake_up_process can't be used while holding the rq lock, so that didn't quite work out. The next