lkml.org 
[lkml]   [2020]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] sched/fair: Fix a comment typo
Date
From: Li Haoran <lhr01130208@gmail.com>

Fix a comment typo in check_preempt_wakeup()

Signed-off-by: Li Haoran <lhr01130208@gmail.com>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index d7fb20adabeb..7e9831831635 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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.
*/
--
2.17.2 (Apple Git-113)
\
 
 \ /
  Last update: 2020-03-31 10:29    [W:0.034 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site