lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: time_is_after_jiffies misnomer
On Tue 2008-12-16 12:31:41, Peter T. Breuer wrote:
>
> I thought at first that
>
> time_is_after_jiffies(foo)
>
> meant that the current time is later than foo jiffies. In fact, it's
> the reverse! (as far as I can tell! 2.6.26-11).
>
> Can we change this name or provide an alternative? Perhaps
>
> jiffies_is_later_than(foo)
>
> ??

Yes, it is confusing and yes, it should be fixed. Probably by
introducing better names and switching callers to them.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-12-18 08:41    [W:0.062 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site