diff options
author | 2009-03-25 14:43:56 +0530 | |
---|---|---|
committer | 2009-03-25 10:30:46 +0100 | |
commit | 222d656dea57e4e084fbd1e9383e6fed2ca9fa61 (patch) | |
tree | eb5f5be4312e050c28ba9b80dc9d0e113e711190 /fs/file_table.c | |
parent | sched: Create a helper function to calculate sched_group stats for fbg() (diff) | |
download | linux-rng-222d656dea57e4e084fbd1e9383e6fed2ca9fa61.tar.xz linux-rng-222d656dea57e4e084fbd1e9383e6fed2ca9fa61.zip |
sched: Define structure to store the sched_domain statistics for fbg()
Impact: cleanup
Currently we use a lot of local variables in find_busiest_group()
to capture the various statistics related to the sched_domain.
Group them together into a single data structure.
This will help us to offload the job of updating the sched_domain
statistics to a helper function.
Credit: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: "Balbir Singh" <balbir@in.ibm.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Cc: "Dhaval Giani" <dhaval@linux.vnet.ibm.com>
Cc: Bharata B Rao <bharata@linux.vnet.ibm.com>
LKML-Reference: <20090325091356.13992.25970.stgit@sofia.in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions