summarylogtreecommitdiffstats
path: root/bfs_gc_remove_resched_closest_idle.patch
blob: 6b19b05c6cf2aa24834b6de9803726f17397b52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/kernel/sched/bfs.c b/kernel/sched/bfs.c
index 5ca4419..a67617c 100644
--- a/kernel/sched/bfs.c
+++ b/kernel/sched/bfs.c
@@ -1145,14 +1145,12 @@ swap_sticky(struct rq *rq, int cpu, struct task_struct *p)
 		}
 		if (task_sticky(rq->sticky_task)) {
 			clear_sticky(rq->sticky_task);
-			resched_closest_idle(rq, cpu, rq->sticky_task);
 		}
 	}
 	if (!rt_task(p)) {
 		p->sticky = true;
 		rq->sticky_task = p;
 	} else {
-		resched_closest_idle(rq, cpu, p);
 		rq->sticky_task = NULL;
 	}
 }