Messages in this thread | | | Date | Tue, 8 Apr 2014 15:34:12 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC PATCH] time: Fix truncation in jiffies_to_usecs() |
| |
On Tue, 8 Apr 2014 20:56:13 +0200 Frederic Weisbecker <fweisbec@gmail.com> 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
| |