Re: [RFC PATCH] time: Fix truncation in jiffies_to_usecs()

From: Steven Rostedt
Date: Tue Apr 08 2014 - 15:34:26 EST


On Tue, 8 Apr 2014 20:56:13 +0200
Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:

> So it may indeed be a better idea to first create a standalone jiffies_to_nsecs().
> It can then be used to deprecate and replace most (if not all) calls to jiffies_to_usecs()
> altogether. Just the conversion must be made one by one to make sure that users can
> handle that.
>
> Of course a big fat comment on jiffies_to_usecs() to describe that it's unsafe
> and deprecated would help a bit.

Sure, sounds like a plan.

-- 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/