diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2024-10-18 20:22:01 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2024-10-18 20:22:01 +0200 |
commit | 8ebb3f2e42c7a924df906c87f677436cec979e71 (patch) | |
tree | 953c594f2c97288967b24d7f6c574dac4f7b8991 /SOURCES/scx-kernel.patch | |
parent | d4a54e18ca707d4bf2ab7732fce591d598a7c15e (diff) | |
download | kernel-fsync-8ebb3f2e42c7a924df906c87f677436cec979e71.tar.gz kernel-fsync-8ebb3f2e42c7a924df906c87f677436cec979e71.zip |
kernel 6.11.3
Diffstat (limited to 'SOURCES/scx-kernel.patch')
-rw-r--r-- | SOURCES/scx-kernel.patch | 10 |
1 files changed, 5 insertions, 5 deletions
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) { |