login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
9
Re: [PATCH v2] add time_now_after and other macros which compare with jiffies
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Dave Young
Subject:
Re: [PATCH v2] add time_now_after and other macros which compare with jiffies
Date: Saturday, March 8, 2008 - 5:54 pm
On Sun, Mar 9, 2008 at 12:12 AM, Johannes Weiner <hannes@saeurebad.de> wrote:
quoted text
> Hi Dave, Andrew and all > > > Dave Young <hidave.darkstar@gmail.com> writes: > > > +/* time_now_after(a) return true if now (jiffies) is after a */ > > +#define time_now_after(a) time_after(jiffies, a) > > + > > +/* time_now_before(a) return true if now (jiffies) is before a */ > > +#define time_now_before(a) time_before(jiffies, a) > > + > > +/* time_now_after_eq(a) return true if now (jiffies) is after or equal to a */ > > +#define time_now_after_eq(a) time_after_eq(jiffies, a) > > + > > +/* time_now_before_eq(a) return true if now (jiffies) is before or equal to a */ > > +#define time_now_before_eq(a) time_before_eq(jiffies, a) > > How about even more obvious names like time_is_past(), time_is_future(), > ...?
Thanks for comment. Then how do we name the _eq version? IMHO, the time_now_* is enough.
quoted text
> > Sorry, I missed v1. Should have proposed that earlier. > > Hannes >
Regards dave --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v2] add time_now_after and other macros which compa ...
, Dave Young
, (Fri Mar 7, 4:35 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Johannes Weiner
, (Sat Mar 8, 9:12 am)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Dave Young
, (Sat Mar 8, 5:54 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Alan Cox
, (Sun Mar 9, 2:58 am)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Dave Young
, (Sun Mar 9, 3:44 am)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Alan Cox
, (Sun Mar 9, 4:08 am)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Andrew Morton
, (Sun Mar 9, 11:36 am)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Andrew Morton
, (Sun Mar 9, 12:01 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Alan Cox
, (Sun Mar 9, 1:03 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Alan Cox
, (Sun Mar 9, 1:06 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Dave Young
, (Sun Mar 9, 7:03 pm)
Re: [PATCH v2] add time_now_after and other macros which c ...
, Johannes Weiner
, (Sun Mar 9, 7:41 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: [PATCH 1/1] staging: hv: Fix race condition on IC channel initialization (modi...
Sam Ravnborg
[PATCH 05/11] x86: add X86_64 dependency to x86_64 specific symbols in Kconfig.x86...
Christoph Lameter
Re: [PATCH 02/40] mm: slab allocation fairness
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread
git
:
Felipe Contreras
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Paolo Ciarrocchi
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
Sverre Rabbelier
Re: [GSoC] What is status of Git's Google Summer of Code 2008 projects?
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Peter Oberndorfer
Subject: [PATCH] fix stg edit command
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Jarek Poplawski
Re: tc filter flow hash question
David Miller
Re: [RFC 0/5] generic rx recycling
Chuck Lever
Re: [RFC] ipv6: Change %pI6 format to output compacted addresses?
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
openbsd-misc
:
Theo de Raadt
Re: RES: OpenBSD on IBM System X3550 7879
Bret S. Lambert
Re: any web management gui for pf ?
Leif Blixt
Re: Force passwordcheck in login.conf
Rob Shepherd
x86 hardware for router system
ropers
Re: Real men don't attack straw men
git-commits-head
:
Linux Kernel Mailing List
New device ID for sc92031 [1088:2031]
Linux Kernel Mailing List
e1000e: Expose MDI-X status via ethtool change
Linux Kernel Mailing List
NFS: Store pages from an NFS inode into a local cache
Linux Kernel Mailing List
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Colocation donated by:
Syndicate