From: Peter Zijlstra Date: Thu, 27 Feb 2014 09:40:35 +0000 (+0100) Subject: sched: Make scale_rt_power() deal with backward clocks X-Git-Tag: omap-for-v3.16/fixes-against-rc1~33^2~67 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cadefd3d6cc914d95163ba1eda766bfe7ce1e5b7;p=pandora-kernel.git sched: Make scale_rt_power() deal with backward clocks Mike reported that, while unlikely, its entirely possible for scale_rt_power() to see the time go backwards. This yields rather 'interesting' results. So like all other sites that deal with clocks; make this one ignore backward clock movement too. Reported-by: Mike Galbraith Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20140227094035.GZ9987@twins.programming.kicks-ass.net Cc: Linus Torvalds Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed