[<prev] [next>] [day] [month] [year] [list]
Message-ID: <159557961932.4006.9497014186016108711.tip-bot2@tip-bot2>
Date: Fri, 24 Jul 2020 08:33:39 -0000
From: "tip-bot2 for Peter Zijlstra" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Peter Zijlstra (Intel)" <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Johannes Weiner <hannes@...xchg.org>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: sched/fifo] sched,psi: Convert to sched_set_fifo_low()
The following commit has been merged into the sched/fifo branch of tip:
Commit-ID: 2cca5426b9c108998bc03230cd6ae440f3e205ed
Gitweb: https://git.kernel.org/tip/2cca5426b9c108998bc03230cd6ae440f3e205ed
Author: Peter Zijlstra <peterz@...radead.org>
AuthorDate: Tue, 21 Apr 2020 12:09:13 +02:00
Committer: Peter Zijlstra <peterz@...radead.org>
CommitterDate: Mon, 15 Jun 2020 14:10:25 +02:00
sched,psi: Convert to sched_set_fifo_low()
Because SCHED_FIFO is a broken scheduler model (see previous patches)
take away the priority field, the kernel can't possibly make an
informed decision.
Effectively no change.
Signed-off-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Reviewed-by: Ingo Molnar <mingo@...nel.org>
Acked-by: Johannes Weiner <hannes@...xchg.org>
---
kernel/sched/psi.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c
index e53b711..967732c 100644
--- a/kernel/sched/psi.c
+++ b/kernel/sched/psi.c
@@ -616,11 +616,8 @@ out:
static int psi_poll_worker(void *data)
{
struct psi_group *group = (struct psi_group *)data;
- struct sched_param param = {
- .sched_priority = 1,
- };
- sched_setscheduler_nocheck(current, SCHED_FIFO, ¶m);
+ sched_set_fifo_low(current);
while (true) {
wait_event_interruptible(group->poll_wait,
Powered by blists - more mailing lists