lkml.org 
[lkml]   [2020]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] sched/rt: fix incorrect comment about non-migratable tasks' priority
Signed-off-by: Sidney Cammeresi <sac@mariadb.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

\
 
 \ /
  Last update: 2020-11-10 20:15    [W:0.036 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site