diff options
author | Gautham R Shenoy <[email protected]> | 2009-03-25 14:44:12 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-25 10:30:47 +0100 |
commit | dbc523a3b86f9e1765b5e70e6886913b99cc5cec (patch) | |
tree | 74e735ebf9ad70f4b204336eee333e4024fc9a9f /net/lapb/lapb_subr.c | |
parent | 2e6f44aeda426054fc58464df1ad571aecca0c92 (diff) |
sched: Create a helper function to calculate imbalance
Move all the imbalance calculation out of find_busiest_group()
through this helper function.
With this change, the structure of find_busiest_group() will be
as follows:
- update_sched_domain_statistics.
- check if imbalance exits.
- update imbalance and return busiest.
Signed-off-by: Gautham R Shenoy <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Cc: Suresh Siddha <[email protected]>
Cc: "Balbir Singh" <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: "Dhaval Giani" <[email protected]>
Cc: Bharata B Rao <[email protected]>
Cc: "Vaidyanathan Srinivasan" <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions