Re: Ktimer / -rt9 (+custom) monotonic_clock going backwards.

From: Steven Rostedt
Date: Thu Oct 20 2005 - 05:08:11 EST




On Thu, 20 Oct 2005, Steven Rostedt wrote:

> >
> > Not anymore.
> >
> > include/linux/time.h:
> >
> > /* timeofday base types */
> > typedef s64 nsec_t;
> > typedef unsigned long cycle_t;
> >
>
> FYI,
>
> I just switched cycle_t to u64 and hackbench no longer makes the time go
> backwards.
>
> John, would this cause any problems to keep cycle_t at s64?

I mean at u64.

-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/