Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 86b17572 authored by aumgn's avatar aumgn
Browse files

Fix wastedcores/4.9.x/overload_on_wakeup patch

parent d5b38ae3
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index c242944f5cbd..5c3c30664790 100644
index c242944f5cbd..06807b2b0f16 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -5631,6 +5631,10 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
......@@ -42,3 +42,12 @@ index c242944f5cbd..5c3c30664790 100644
for_each_domain(cpu, tmp) {
if (!(tmp->flags & SD_LOAD_BALANCE))
break;
@@ -5702,6 +5728,8 @@ select_task_rq_fair(struct task_struct *p, int prev_cpu, int sd_flag, int wake_f
}
/* while loop will break here if sd == NULL */
}
+
+unlock:
rcu_read_unlock();
return new_cpu;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment