Name

update_sd_pick_busiest — return 1 on busiest group

Synopsis

bool fsfuncupdate_sd_pick_busiest (struct sched_domain * sd,
 struct sd_lb_stats * sds,
 struct sched_group * sg,
 struct sg_lb_stats * sgs,
 int this_cpu);
 

Arguments

sd

sched_domain whose statistics are to be checked

sds

sched_domain statistics

sg

sched_group candidate to be checked for being the busiest

sgs

sched_group statistics

this_cpu

the current cpu

Description

Determine if sg is a busier group than the previously selected busiest group.