Lines Matching defs:sync
3806 * sync, we are only sure that util_sum must be above or equal to
6122 static int wake_affine_idle(int this_cpu, int prev_cpu, int sync)
6140 if (sync && cpu_rq(this_cpu)->nr_running == 1) {
6147 static int wake_affine_weight(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync)
6154 if (sync) {
6179 * If sync, adjust the weight of prev_eff_load such that if
6184 if (sync) {
6191 static int wake_affine(struct sched_domain *sd, struct task_struct *p, int this_cpu, int prev_cpu, int sync)
6196 target = wake_affine_idle(this_cpu, prev_cpu, sync);
6200 target = wake_affine_weight(sd, p, this_cpu, prev_cpu, sync);
6285 * We need task's util for cpu_util_without, sync it up to
7122 int sync = (wake_flags & WF_SYNC) && !(current->flags & PF_EXITING);
7154 new_cpu = wake_affine(tmp, p, cpu, prev_cpu, sync);