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]
Message-ID: <s5ho8sfd2dk.wl-tiwai@suse.de>
Date:   Sun, 29 Mar 2020 09:52:23 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     George Spelvin <lkml@....org>
Cc:     <linux-kernel@...r.kernel.org>, Hannes Reinecke <hare@...e.de>,
        <linux-scsi@...r.kernel.org>,
        Marek Lindner <mareklindner@...mailbox.ch>,
        Simon Wunderlich <sw@...onwunderlich.de>,
        Antonio Quartulli <a@...table.cc>,
        Sven Eckelmann <sven@...fation.org>,
        <b.a.t.m.a.n@...tynna.open-mesh.org>,
        Johannes Berg <johannes@...solutions.net>,
        <linux-wireless@...r.kernel.org>, Jaroslav Kysela <perex@...ex.cz>,
        Takashi Iwai <tiwai@...e.com>, <alsa-devel@...a-project.org>
Subject: Re: [RFC PATCH v1 13/50] Avoid some useless msecs/jiffies conversions

On Thu, 22 Aug 2019 02:25:10 +0200,
George Spelvin wrote:
> Likewise, "msecs_to_jiffies(seconds * 1000)" is more
> conveniently written "seconds * HZ".

I thought the compiler already optimizes to the constant calculation
for the above case?


thanks,

Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ