From: Ingo Molnar Date: Tue, 28 Aug 2007 10:53:24 +0000 (+0200) Subject: sched: fix wait_start_fair condition in update_stats_wait_end() X-Git-Tag: v2.6.23-rc5~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b77d69db9f4ba03b2ed17e383c2d73ca89f5ab14;p=pandora-kernel.git sched: fix wait_start_fair condition in update_stats_wait_end() Peter Zijlstra noticed the following bug in SCHED_FEAT_SKIP_INITIAL (which is disabled by default at the moment): it relies on se.wait_start_fair being 0 while update_stats_wait_end() did not recognize a 0 value, so instead of 'skipping' the initial interval we gave the new child a maximum boost of +runtime-limit ... (No impact on the default kernel, but nice to fix for completeness.) Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Signed-off-by: Mike Galbraith --- Reading git-diff-tree failed