lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 16 Dec 2008 15:46:08 +0100
From:	Johannes Weiner <hannes@...xchg.org>
To:	"Peter T. Breuer" <ptb@....it.uc3m.es>
Cc:	linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: time_is_after_jiffies misnomer

On Tue, Dec 16, 2008 at 12:31:41PM +0100, Peter T. Breuer wrote:
> 
> I thought at first that
> 
>     time_is_after_jiffies(foo)
> 
> meant that the current time is later than foo jiffies.

'foo jiffies'?

It behaves like all the other time_(after|before) macros.  "Compare a
given time T against some other time X".

T is always the first argument to these macros, it's never the current
time.  This is consistent.

And jiffies, the X here, is a well-known global variable. :)

The banner comment above the macro group should have clarified the
misunderstanding, btw.

	Hannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ