Skip to contentSkip to conversation

sched/fair: Fix a comment typo

PATCH New li haoran 1 participant 1 message Mar 31, 2020 Scheduler

lore
Share & tools
lore

li haoran

author
#0 lore raw

PATCH 1/1 sched/fair: Fix a comment typo

From: Li Haoran <[email protected]>

Fix a comment typo in check_preempt_wakeup()

---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index d7fb20adabeb..7e9831831635 100644
@@ -6870,7 +6870,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_
 
 	/*
 	 * This is possible from callers such as attach_tasks(), in which we
-	 * unconditionally check_prempt_curr() after an enqueue (which may have
+	 * unconditionally check_preempt_curr() after an enqueue (which may have
 	 * lead to a throttle).  This both saves work and prevents false
 	 * next-buddy nomination below.
 	 */
Signature · 1 line
2.17.2 (Apple Git-113)