Commit 7d380f24 authored by Bharata B Rao's avatar Bharata B Rao Committed by Peter Zijlstra

sched/numa: Fix a few comments

Fix a few comments to help understand them better.
Signed-off-by: default avatarBharata B Rao <bharata@amd.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: default avatarMel Gorman <mgorman@suse.de>
Link: https://lkml.kernel.org/r/20211004105706.3669-4-bharata@amd.com
parent 5b763a14
...@@ -2074,7 +2074,7 @@ static void numa_migrate_preferred(struct task_struct *p) ...@@ -2074,7 +2074,7 @@ static void numa_migrate_preferred(struct task_struct *p)
} }
/* /*
* Find out how many nodes on the workload is actively running on. Do this by * Find out how many nodes the workload is actively running on. Do this by
* tracking the nodes from which NUMA hinting faults are triggered. This can * tracking the nodes from which NUMA hinting faults are triggered. This can
* be different from the set of nodes where the workload's memory is currently * be different from the set of nodes where the workload's memory is currently
* located. * located.
...@@ -2128,7 +2128,7 @@ static void update_task_scan_period(struct task_struct *p, ...@@ -2128,7 +2128,7 @@ static void update_task_scan_period(struct task_struct *p,
/* /*
* If there were no record hinting faults then either the task is * If there were no record hinting faults then either the task is
* completely idle or all activity is areas that are not of interest * completely idle or all activity is in areas that are not of interest
* to automatic numa balancing. Related to that, if there were failed * to automatic numa balancing. Related to that, if there were failed
* migration then it implies we are migrating too quickly or the local * migration then it implies we are migrating too quickly or the local
* node is overloaded. In either case, scan slower * node is overloaded. In either case, scan slower
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment