---
name: "find_busiest_group"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/find_busiest_group"
---

# find\_busiest\_group(9)

Returns the busiest group within the sched\_domain if there is an imbalance. If there isn't an imbalance, and the user has opted for power-savings, it returns a group whose CPUs can be put to idle by rebalancing those tasks elsewhere, if such a group exists.

## NAME

find\_busiest\_group - Returns the busiest group within the sched\_domain if there is an imbalance. If there isn't an imbalance, and the user has opted for power-savings, it returns a group whose CPUs can be put to idle by rebalancing those tasks elsewhere, if such a group exists.

## 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. - If no imbalance and user has opted for power-savings balance, return the least loaded group whose CPUs can be put to idle by rebalancing its tasks onto our group.

## COPYRIGHT
