From 8ebb3f2e42c7a924df906c87f677436cec979e71 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Fri, 18 Oct 2024 20:22:01 +0200 Subject: kernel 6.11.3 --- SOURCES/scx-kernel.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'SOURCES/scx-kernel.patch') diff --git a/SOURCES/scx-kernel.patch b/SOURCES/scx-kernel.patch index 196bac1..504cde3 100644 --- a/SOURCES/scx-kernel.patch +++ b/SOURCES/scx-kernel.patch @@ -1340,7 +1340,7 @@ index f3951e4a55e5..c792a6feb7a9 100644 /* * We must do the balancing pass before put_prev_task(), such * that when we release the rq->lock the task is in the same -@@ -5782,11 +5847,10 @@ static void put_prev_task_balance(struct rq *rq, struct task_struct *prev, +@@ -5784,11 +5784,10 @@ * We can terminate the balance pass as soon as we know there is * a runnable task of @class priority or higher. */ @@ -1353,7 +1353,7 @@ index f3951e4a55e5..c792a6feb7a9 100644 -#endif put_prev_task(rq, prev); - } + @@ -5800,6 +5864,9 @@ __pick_next_task(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) const struct sched_class *class; struct task_struct *p; @@ -1364,9 +1364,9 @@ index f3951e4a55e5..c792a6feb7a9 100644 /* * Optimization: we know that if all tasks are in the fair class we can * call that function directly, but only if the @prev task wasn't of a -@@ -5840,10 +5907,15 @@ __pick_next_task(struct rq *rq, struct task_struct *prev, struct rq_flags *rf) - if (prev->dl_server) - prev->dl_server = NULL; +@@ -5849,10 +5849,15 @@ + restart: + put_prev_task_balance(rq, prev, rf); - for_each_class(class) { + for_each_active_class(class) { -- cgit v1.2.3