aboutsummaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2009-12-23 15:10:31 +0100
committerIngo Molnar <mingo@elte.hu>2010-01-21 13:40:13 +0100
commit1af3ed3ddf27499c3f57662c4c29871e2b95e5f9 (patch)
tree12e478c9ae078aa7efd8675564cffeb34708d074 /drivers/ata
parentbaa8c1102f0cd86e69c1497d61d2ee177e663663 (diff)
sched: Unify load_balance{,_newidle}()
load_balance() and load_balance_newidle() look remarkably similar, one key point they differ in is the condition on when to active balance. So split out that logic into a separate function. One side effect is that previously load_balance_newidle() used to fail and return -1 under these conditions, whereas now it doesn't. I've not yet fully figured out the whole -1 return case for either load_balance{,_newidle}(). 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 'drivers/ata')
0 files changed, 0 insertions, 0 deletions