|
@@ -951,14 +951,6 @@ void task_numa_work(struct callback_head *work)
|
|
|
*/
|
|
|
p->node_stamp += 2 * TICK_NSEC;
|
|
|
|
|
|
- /*
|
|
|
- * Do not set pte_numa if the current running node is rate-limited.
|
|
|
- * This loses statistics on the fault but if we are unwilling to
|
|
|
- * migrate to this node, it is less likely we can do useful work
|
|
|
- */
|
|
|
- if (migrate_ratelimited(numa_node_id()))
|
|
|
- return;
|
|
|
-
|
|
|
start = mm->numa_scan_offset;
|
|
|
pages = sysctl_numa_balancing_scan_size;
|
|
|
pages <<= 20 - PAGE_SHIFT; /* MB in pages */
|