Re: [ANNOUNCE] 2.6.29.6-rt23

Jaswinder Singh Rajput
2009-07-14T09:14:12Z

On Fri, 2009-07-10 at 20:29 +0200, Thomas Gleixner wrote:
> On Fri, 10 Jul 2009, Fernando Lopez-Lezcano wrote:
> > On Thu, 2009-07-09 at 20:25 +0200, Thomas Gleixner wrote:
> > > We are pleased to announce the next update to our new preempt-rt
> > > series.
> > >
> > > - update to 2.6.29.6
> > >
> > > - compile fixes (Wu Zhangjin)
> > >
> > > - powerpc highmem fix
> > >
> > > - hwlat smp_processor_id() fix (Carsten)
> > >
> > > - ktime_get* speedups (Martin)
> >
> > I'm getting slightly weird behavior from rt23 in an intel quad core
> > machine (my T61 laptop is fine), rt22 was fine. It is some timer issue,
> > if I type continuously I get (every few seconds) repeated keys. Nothing
> > in the logs, nothing in dmesg that is (significantly) different from an
> > rt22 boot.
>
> Hmm. The only change which touches timer related stuff is the ktime*
> speedups. Can you please apply the revert patch below and check
> whether that changes anything? If not, then we need to look at the
> 2.6.29.5 -> .6 delta.
>
> Thanks,
>
> tglx
> -----
> diff --git b/kernel/hrtimer.c a/kernel/hrtimer.c
> index 93affb0..cb8a15c 100644
> --- b/kernel/hrtimer.c
> +++ a/kernel/hrtimer.c
> @@ -46,6 +46,37 @@
>
> #include <asm/uaccess.h>
>
> +/**
> + * ktime_get - get the monotonic time in ktime_t format
> + *
> + * returns the time in ktime_t format
> + */
> +ktime_t ktime_get(void)
> +{
> + struct timespec now;
> +
> + ktime_get_ts(&now);
> +
> + return timespec_to_ktime(now);
> +}
> +EXPORT_SYMBOL_GPL(ktime_get);
> +
> +/**
> + * ktime_get_real - get the real (wall-) time in ktime_t format
> + *
> + * returns the time in ktime_t format
> + */
> +ktime_t ktime_get_real(void)
> +{
> + struct timespec now;
> +
> + getnstimeofday(&now);
> +
> + return timespec_to_ktime(now);
> +}
> +
> +EXPORT_SYMBOL_GPL(ktime_get_real);
> +

Remove extra line before EXPORT_SYMBOL_GPL(ktime_get_real);

--
JSR