Re: [PATCH 1/3] cpuidle: Store the idle start time stamp

From: Peter Zijlstra
Date: Wed Apr 15 2015 - 06:26:05 EST

On Wed, Apr 15, 2015 at 12:00:22PM +0200, Daniel Lezcano wrote:
> + diff = ktime_to_us(ktime_sub_us(ktime_get(), target_state->idle_stamp));

Oh groan; seriously?

diff = ktime_get_ns() - target_state->idle_stamp;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at