• Gautham R Shenoy's avatar
    sched: Define structure to store the sched_group statistics for fbg() · 381be78f
    Gautham R Shenoy authored
    Impact: cleanup
    
    Currently a whole bunch of variables are used to store the
    various statistics pertaining to the groups we iterate over
    in find_busiest_group().
    
    Group them together in a single data structure and add
    appropriate comments.
    
    This will be useful later on when we create helper functions
    to calculate the sched_group statistics.
    
    Credit: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
    Signed-off-by: default avatarGautham R Shenoy <ego@in.ibm.com>
    Acked-by: default avatarPeter 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: <20090325091345.13992.20099.stgit@sofia.in.ibm.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    381be78f
sched.c 237 KB