|
@@ -1342,7 +1342,6 @@ static void update_task_scan_period(struct task_struct *p,
|
|
* scanning faster if shared accesses dominate as it may
|
|
* scanning faster if shared accesses dominate as it may
|
|
* simply bounce migrations uselessly
|
|
* simply bounce migrations uselessly
|
|
*/
|
|
*/
|
|
- period_slot = DIV_ROUND_UP(diff, NUMA_PERIOD_SLOTS);
|
|
|
|
ratio = DIV_ROUND_UP(private * NUMA_PERIOD_SLOTS, (private + shared));
|
|
ratio = DIV_ROUND_UP(private * NUMA_PERIOD_SLOTS, (private + shared));
|
|
diff = (diff * ratio) / NUMA_PERIOD_SLOTS;
|
|
diff = (diff * ratio) / NUMA_PERIOD_SLOTS;
|
|
}
|
|
}
|