find_new_ilb — Finds the optimum idle load balancer for nomination.
int fsfuncfind_new_ilb ( | int cpu) ; |
Returns the id of the idle load balancer if it exists, Else, returns >= nr_cpu_ids.
This algorithm picks the idle load balancer such that it belongs to a semi-idle powersavings sched_domain. The idea is to try and avoid completely idle packages/cores just for the purpose of idle load balancing when there are other idle cpu's which are better suited for that job.