diff options
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index e95ff22ed174..6798328a2e0e 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -2180,12 +2180,6 @@ int can_migrate_task(struct task_struct *p, struct rq *rq, int this_cpu, | |||
2180 | if (task_running(rq, p)) | 2180 | if (task_running(rq, p)) |
2181 | return 0; | 2181 | return 0; |
2182 | 2182 | ||
2183 | /* | ||
2184 | * Aggressive migration if too many balance attempts have failed: | ||
2185 | */ | ||
2186 | if (sd->nr_balance_failed > sd->cache_nice_tries) | ||
2187 | return 1; | ||
2188 | |||
2189 | return 1; | 2183 | return 1; |
2190 | } | 2184 | } |
2191 | 2185 | ||