diff options
author | Gautham R Shenoy <[email protected]> | 2009-03-25 14:44:22 +0530 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-03-25 10:30:48 +0100 |
commit | c071df18525a95b37dd5821a6dc4af83bd18675e (patch) | |
tree | 3b5a3761ed296465ed5f7b4669e74ec92203de78 /net/lapb/lapb_iface.c | |
parent | a021dc03376707c55a3483e32c16b8986d4414cc (diff) |
sched: Refactor the power savings balance code
Impact: cleanup
Create seperate helper functions to initialize the
power-savings-balance related variables, to update them and
to check if we have a scope for performing power-savings balance.
Add no-op inline functions for the !(CONFIG_SCHED_MC || CONFIG_SCHED_SMT)
case.
This will eliminate all the #ifdef jungle in find_busiest_group() and the
other helper functions.
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_iface.c')
0 files changed, 0 insertions, 0 deletions