aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/omap_device.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2015-11-05 15:56:22 -0500
committerIngo Molnar <[email protected]>2015-11-09 16:13:27 +0100
commit25b3e5a3344e1f700c1efec5b6f0199f04707fb1 (patch)
tree5f3b54f6f8f9a207fc717bda3902f47d83be91f0 /arch/arm/mach-omap2/omap_device.c
parent66ef3493d4bb387f5a83915e33dc893102fd1b43 (diff)
sched/numa: Fix math underflow in task_tick_numa()
The NUMA balancing code implements delays in scanning by advancing curr->node_stamp beyond curr->se.sum_exec_runtime. With unsigned math, that creates an underflow, which results in task_numa_work being queued all the time, even when we don't want to. Avoiding the math underflow makes it possible to reduce CPU overhead in the NUMA balancing code. Reported-and-tested-by: Jan Stancek <[email protected]> Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/arm/mach-omap2/omap_device.c')
0 files changed, 0 insertions, 0 deletions