From: Gautham R Shenoy Date: Wed, 25 Mar 2009 09:13:51 +0000 (+0530) Subject: sched: Create a helper function to calculate sched_group stats for fbg() X-Git-Tag: v2.6.30-rc1~658^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f8c553d0f11d85f7993fe21015695d266771c00;p=pandora-kernel.git sched: Create a helper function to calculate sched_group stats for fbg() Impact: cleanup Create a helper function named update_sg_lb_stats() which can be invoked to calculate the individual group's statistics in find_busiest_group(). This reduces the lenght of find_busiest_group() considerably. Credit: Vaidyanathan Srinivasan Signed-off-by: Gautham R Shenoy Aked-by: Peter Zijlstra Cc: Suresh Siddha Cc: "Balbir Singh" Cc: Nick Piggin Cc: "Dhaval Giani" Cc: Bharata B Rao LKML-Reference: <20090325091351.13992.43461.stgit@sofia.in.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed