* [RESEND PATCH] sched/fair: fix a comment in task_numa_fault()
@ 2018-11-05 0:50 Yi Wang
2018-11-05 6:06 ` [tip:sched/urgent] sched/fair: Fix " tip-bot for Yi Wang
0 siblings, 1 reply; 2+ messages in thread
From: Yi Wang @ 2018-11-05 0:50 UTC (permalink / raw)
To: mingo, peterz; +Cc: linux-kernel, zhong.weidong, Yi Wang
Fix the comment in task_numa_fault() to avoid confusing.
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Reviewed-by: Xi Xu <xu.xi8@zte.com.cn>
---
kernel/sched/fair.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 908c9cd..6430c0a 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -2422,8 +2422,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);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:sched/urgent] sched/fair: Fix a comment in task_numa_fault()
2018-11-05 0:50 [RESEND PATCH] sched/fair: fix a comment in task_numa_fault() Yi Wang
@ 2018-11-05 6:06 ` tip-bot for Yi Wang
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Yi Wang @ 2018-11-05 6:06 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, peterz, mingo, torvalds, hpa, xu.xi8, tglx, wang.yi59
Commit-ID: e1ff516a56ad56c476b47795d3811eef79d25fbe
Gitweb: https://git.kernel.org/tip/e1ff516a56ad56c476b47795d3811eef79d25fbe
Author: Yi Wang <wang.yi59@zte.com.cn>
AuthorDate: Mon, 5 Nov 2018 08:50:13 +0800
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Mon, 5 Nov 2018 07:03:59 +0100
sched/fair: Fix a comment in task_numa_fault()
Duplicated 'case it'.
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Reviewed-by: Xi Xu <xu.xi8@zte.com.cn>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: zhong.weidong@zte.com.cn
Link: http://lkml.kernel.org/r/1541379013-11352-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
kernel/sched/fair.c | 4 ++--
1 file 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);
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-05 6:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 0:50 [RESEND PATCH] sched/fair: fix a comment in task_numa_fault() Yi Wang
2018-11-05 6:06 ` [tip:sched/urgent] sched/fair: Fix " tip-bot for Yi Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).