lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 18 Dec 2008 08:38:25 +0100
FromPavel Machek <>
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    [from the cache]
©2003-2008