Comment 1 for bug 258381

Revision history for this message
jdm64 (jdm64) wrote :

It seems that the commit that went into 2.6.27 can't be backported to .26. But, hrtick, what is causing the problem, can be disabled.

The patch to disable hrtick that applies on a vanila 2.6.26.2 kernel and should also apply to Ubuntu's kernel is below. That patch (or similar) should go into 2.6.26.3 or 2.6.26.4. See discussion here:

    http://lkml.org/lkml/2008/8/19/311

-----------------

The hrtick implementation in 2.6.25 and .26 has been known to cause boot
problems with at least Intel GMA cards. see:

 https://bugs.freedesktop.org/show_bug.cgi?id=15602
 http://bugzilla.kernel.org/show_bug.cgi?id=10892

A full fix to hrtick went into 2.6.27
(31656519e132f6612584815f128c83976a9aaaef),
but that fix is too intrusive to backport. Henceforth, we default to
disable hrtick.

Signed-off-by: Justin Madru <email address hidden>
Tested-by: Justin Madru <email address hidden>
Cc: Peter Zijlstra <email address hidden>
Cc: Ingo Molnar <email address hidden>

--- a/kernel/sched_features.h
+++ b/kernel/sched_features.h
@@ -4,7 +4,7 @@
 SCHED_FEAT(AFFINE_WAKEUPS, 1)
 SCHED_FEAT(CACHE_HOT_BUDDY, 1)
 SCHED_FEAT(SYNC_WAKEUPS, 1)
-SCHED_FEAT(HRTICK, 1)
+SCHED_FEAT(HRTICK, 0)
 SCHED_FEAT(DOUBLE_TICK, 0)
 SCHED_FEAT(NORMALIZED_SLEEPER, 1)
 SCHED_FEAT(DEADLINE, 1)