aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul Turner <pjt@google.com>2011-01-21 20:44:59 -0800
committerIngo Molnar <mingo@elte.hu>2011-01-26 12:31:01 +0100
commite37b6a7b27b400c3aa488db8c6629a05095bc79c (patch)
treeb27ed41b74eb7e69d2e6b02cc659c4fab3ef12ef /tools/perf/util/scripting-engines/trace-event-python.c
parentMerge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadwireguard-linux-e37b6a7b27b400c3aa488db8c6629a05095bc79c.tar.xz
wireguard-linux-e37b6a7b27b400c3aa488db8c6629a05095bc79c.zip
sched: Fix sign under-flows in wake_affine
While care is taken around the zero-point in effective_load to not exceed the instantaneous rq->weight, it's still possible (e.g. using wake_idx != 0) for (load + effective_load) to underflow. In this case the comparing the unsigned values can result in incorrect balanced decisions. Signed-off-by: Paul Turner <pjt@google.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <20110122044851.734245014@google.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions