• G
    sched: Define structure to store the sched_domain statistics for fbg() · 222d656d
    Gautham R Shenoy 提交于
    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: NGautham R Shenoy <ego@in.ibm.com>
    Acked-by: NPeter 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: NIngo Molnar <mingo@elte.hu>
    222d656d
sched.c 238.8 KB