Thanks Rafael, the code looks a lot more natural IMHO. this bit: > +#ifdef DEBUG > +static void dbg_get_time(struct timeval *start) > +{ > + do_gettimeofday(start); > +} is a plain wrapper over gettimeofday so you might want to inline it. (although GCC will do it too most of the time) Ingo _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm