Messages in this thread | | | Date | Sun, 9 Mar 2008 12:01:33 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH v2] add time_now_after and other macros which compare with jiffies |
| |
On Sun, 9 Mar 2008 11:08:08 +0000 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > Yes, This has a purpose as well. You will find most of the usage of these > > macros are just compare some value with jiffies after doing some grep. > > That is no reason to add more macros that hide how they do it, or make > jiffies itself invisible to the grep search or variable usage finding > tools (and for tickless that very thing is important)
We could call them time_is_after_jiffies(), time_is_before_jiffies(), etc.
Those names are actually better than time_after_now(), etc.
| |