[PATCH] sched/rt: fix incorrect comment about non-migratable tasks' priority

From: Sidney Cammeresi
Date: Tue Nov 10 2020 - 14:15:05 EST


Signed-off-by: Sidney Cammeresi <sac@xxxxxxxxxxx>
---
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