summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2012-05-22 14:04:28 +0200
committerIngo Molnar <mingo@kernel.org>2012-05-30 14:02:24 +0200
commitb654f7de41b0e3903ee2b51d3b8db77fe52ce728 (patch)
treecdcd46a04d8b59d75045f1d3ae753e4843dbe2c0 /lib
parent74a5ce20e6eeeb3751340b390e7ac1d1d07bbf55 (diff)
downloadlinux-b654f7de41b0e3903ee2b51d3b8db77fe52ce728.tar.gz
linux-b654f7de41b0e3903ee2b51d3b8db77fe52ce728.tar.bz2
linux-b654f7de41b0e3903ee2b51d3b8db77fe52ce728.zip
sched: Make sure to not re-read variables after validation
We could re-read rq->rt_avg after we validated it was smaller than total, invalidating the check and resulting in an unintended negative. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: David Rientjes <rientjes@google.com> Link: http://lkml.kernel.org/r/1337688268.9698.29.camel@twins Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions