From: Peter Zijlstra Date: Tue, 22 May 2012 12:04:28 +0000 (+0200) Subject: sched: Make sure to not re-read variables after validation X-Git-Tag: v3.5-rc2~34^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b654f7de41b0e3903ee2b51d3b8db77fe52ce728;p=pandora-kernel.git 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 Cc: David Rientjes Link: http://lkml.kernel.org/r/1337688268.9698.29.camel@twins Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed