[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2dc57331a47ea56c6cb0d155eb323bb42667630e.1605034896.git.sac@cheesecake.org>
Date: Tue, 10 Nov 2020 11:12:59 -0800
From: Sidney Cammeresi <sac@...iadb.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] sched/rt: fix incorrect comment about non-migratable tasks'
priority
Signed-off-by: Sidney Cammeresi <sac@...iadb.com>
---
kernel/sched/rt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c
index 49ec096..6197c9e 100644
--- a/kernel/sched/rt.c
+++ b/kernel/sched/rt.c
@@ -1560,7 +1560,7 @@ static void check_preempt_curr_rt(struct rq *rq, struct task_struct *p, int flag
*
* - the newly woken task is of equal priority to the current task
* - the newly woken task is non-migratable while current is migratable
- * - current will be preempted on the next reschedule
+ * - current will not be preempted on the next reschedule
*
* we should check to see if current can readily move to a different
* cpu. If so, we will reschedule to allow the push logic to try
--
2.7.4
--
Sidney Cammeresi
Staff Software Engineer, MariaDB Corporation Ab
Powered by blists - more mailing lists