Loading kernel/sched/fair.c +0 −8 Original line number Diff line number Diff line Loading @@ -7361,7 +7361,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, unsigned int active_cpus_count = 0; int prev_cpu = task_cpu(p); bool next_group_higher_cap = false; int isolated_candidate = -1; *backup_cpu = -1; Loading Loading @@ -7422,8 +7421,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, if (!cpu_online(i) || cpu_isolated(i)) continue; if (isolated_candidate == -1) isolated_candidate = i; /* * This CPU is the target of an active migration that's * yet to complete. Avoid placing another task on it. Loading Loading @@ -7786,11 +7783,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, target_cpu = *backup_cpu; *backup_cpu = -1; } if (target_cpu == -1 && isolated_candidate != -1 && cpu_isolated(prev_cpu)) target_cpu == isolated_candidate; out: return target_cpu; } Loading Loading
kernel/sched/fair.c +0 −8 Original line number Diff line number Diff line Loading @@ -7361,7 +7361,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, unsigned int active_cpus_count = 0; int prev_cpu = task_cpu(p); bool next_group_higher_cap = false; int isolated_candidate = -1; *backup_cpu = -1; Loading Loading @@ -7422,8 +7421,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, if (!cpu_online(i) || cpu_isolated(i)) continue; if (isolated_candidate == -1) isolated_candidate = i; /* * This CPU is the target of an active migration that's * yet to complete. Avoid placing another task on it. Loading Loading @@ -7786,11 +7783,6 @@ static inline int find_best_target(struct task_struct *p, int *backup_cpu, target_cpu = *backup_cpu; *backup_cpu = -1; } if (target_cpu == -1 && isolated_candidate != -1 && cpu_isolated(prev_cpu)) target_cpu == isolated_candidate; out: return target_cpu; } Loading