scheduler updates for 4.4
Linus,
please pull the latest sched-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus
A single fix to prevent math underflow in the numa balancing code.
Thanks,
tglx
------------------>
Rik van Riel (1):
sched/numa: Fix math underflow in task_tick_numa()
kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
@@ -2302,7 +2302,7 @@ void task_tick_numa(struct rq *rq, struct task_struct *curr) now = curr->se.sum_exec_runtime; period = (u64 )curr->numa_scan_period *NSEC_PER_MSEC ; -if (now - curr->node_stamp > period) { +if (now > curr->node_stamp + period) {if (!curr->node_stamp) curr->numa_scan_period =task_scan_min (curr); curr->node_stamp += period;