aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYi Wang <[email protected]>2018-11-05 08:50:13 +0800
committerIngo Molnar <[email protected]>2018-11-05 07:03:59 +0100
commite1ff516a56ad56c476b47795d3811eef79d25fbe (patch)
tree369edcae1cf9a359f6afc4c673465877a94a4d88
parent40fa3780bac2b654edf23f6b13f4e2dd550aea10 (diff)
sched/fair: Fix a comment in task_numa_fault()
Duplicated 'case it'. Signed-off-by: Yi Wang <[email protected]> Reviewed-by: Xi Xu <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r--kernel/sched/fair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index ee271bb661cc..3648d0300fdf 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2400,8 +2400,8 @@ void task_numa_fault(int last_cpupid, int mem_node, int pages, int flags)
local = 1;
/*
- * Retry task to preferred node migration periodically, in case it
- * case it previously failed, or the scheduler moved us.
+ * Retry to migrate task to preferred node periodically, in case it
+ * previously failed, or the scheduler moved us.
*/
if (time_after(jiffies, p->numa_migrate_retry)) {
task_numa_placement(p);