Name

find_busiest_group — Returns the busiest group within the sched_domain if there is an imbalance.

Synopsis

struct sched_group * find_busiest_group (struct lb_env * env);
 

Arguments

env

The load balancing environment.

Description

Also calculates the amount of weighted load which should be moved to restore balance.

Return

- The busiest group if imbalance exists.