]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - kernel/sched/fair.c
sched/numa: Continue PTE scanning even if migrate rate limited
[karo-tx-linux.git] / kernel / sched / fair.c
index 573d815e80afaa391054352496aba6d3ce68ca87..464207fc9eef2970be8122474ed6600ab367f612 100644 (file)
@@ -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 */