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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <84144f020812160813x692abe16t5148462a9036856d@mail.gmail.com>
Date:	Tue, 16 Dec 2008 18:13:32 +0200
From:	"Pekka Enberg" <penberg@...helsinki.fi>
To:	ptb@....it.uc3m.es
Cc:	hannes@...xchg.org, "linux kernel" <linux-kernel@...r.kernel.org>
Subject: Re: time_is_after_jiffies misnomer

On Tue, Dec 16, 2008 at 6:04 PM, Peter T. Breuer <ptb@....it.uc3m.es> wrote:
> The kernel's
>
>     time_is_after_jiffies(500)
>
> macro mathematically means
>
>    the current value of the jiffies variable is LESS THAN 500

Not that you would ever do something like that. Instead, you will see
something like this if you grep the kernel sources a bit:

    time_is_after_jiffies(jiffies + 500)

                    Pekka
--
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