diff options
-rw-r--r-- | kernel/sched/fair.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 37892d7..4316af2 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -1342,7 +1342,6 @@ static void update_task_scan_period(struct task_struct *p, * scanning faster if shared accesses dominate as it may * simply bounce migrations uselessly */ - period_slot = DIV_ROUND_UP(diff, NUMA_PERIOD_SLOTS); ratio = DIV_ROUND_UP(private * NUMA_PERIOD_SLOTS, (private + shared)); diff = (diff * ratio) / NUMA_PERIOD_SLOTS; } |