Re: [patch 00/46] High resolution timer / dynamic tick update

Ingo Molnar
2007-01-24T11:05:45Z

* Daniel Walker <dwalker@mvista.com> wrote:

> > > > > If stability is a question, -rt10 does currently compile for
> > > > > my test config, due to this new HRT introduction. [...]
[...]

NOTE: the build problem you have is -rt specific. In any case it is not
due to this new HRT introduction but due to another, -rt only feature or
high-res timers: the ability to asynchronously wait on their completion
without polling. But that does not matter to -mm kernels.

I have put your .config into the new -mm queue Thomas submitted and it
compiled and booted just fine.

> > > No, the test config I was talking about is SMP i386 (which is what
> > > I usually use). [...]
> >
> > then please send me the .config.
>
> Sure.

please check whether the patch below (ontop of -rt10) fixes this for
you.

Ingo

Index: linux/kernel/hrtimer.c
===================================================================
--- linux.orig/kernel/hrtimer.c
+++ linux/kernel/hrtimer.c
@@ -992,8 +994,6 @@ int hrtimer_get_res(const clockid_t whic
}
EXPORT_SYMBOL_GPL(hrtimer_get_res);

-#ifdef CONFIG_HIGH_RES_TIMERS
-
#ifdef CONFIG_PREEMPT_SOFTIRQS
# define wake_up_timer_waiters(b) wake_up(&(b)->wait)

@@ -1020,6 +1020,8 @@ void hrtimer_wait_for_timer(const struct
# define wake_up_timer_waiters(b) do { } while (0)
#endif

+#ifdef CONFIG_HIGH_RES_TIMERS
+
/*
* High resolution timer interrupt
* Called with interrupts disabled