From: Takashi Iwai <tiwai@suse.de>
To: George Spelvin <lkml@sdf.org>
Cc: alsa-devel@alsa-project.org,
Marek Lindner <mareklindner@neomailbox.ch>,
linux-scsi@vger.kernel.org,
Simon Wunderlich <sw@simonwunderlich.de>,
linux-wireless@vger.kernel.org, Takashi Iwai <tiwai@suse.com>,
Antonio Quartulli <a@unstable.cc>,
linux-kernel@vger.kernel.org, b.a.t.m.a.n@diktynna.open-mesh.org,
Hannes Reinecke <hare@suse.de>,
Johannes Berg <johannes@sipsolutions.net>,
Sven Eckelmann <sven@narfation.org>
Subject: Re: [RFC PATCH v1 13/50] Avoid some useless msecs/jiffies conversions
Date: Sun, 29 Mar 2020 09:52:23 +0200 [thread overview]
Message-ID: <s5ho8sfd2dk.wl-tiwai@suse.de> (raw)
In-Reply-To: <202003281643.02SGhBrh000992@sdf.org>
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
WARNING: multiple messages have this Message-ID (diff)
From: Takashi Iwai <tiwai@suse.de>
To: George Spelvin <lkml@sdf.org>
Cc: <linux-kernel@vger.kernel.org>, Hannes Reinecke <hare@suse.de>,
<linux-scsi@vger.kernel.org>,
Marek Lindner <mareklindner@neomailbox.ch>,
Simon Wunderlich <sw@simonwunderlich.de>,
Antonio Quartulli <a@unstable.cc>,
Sven Eckelmann <sven@narfation.org>,
<b.a.t.m.a.n@diktynna.open-mesh.org>,
Johannes Berg <johannes@sipsolutions.net>,
<linux-wireless@vger.kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
<alsa-devel@alsa-project.org>
Subject: Re: [RFC PATCH v1 13/50] Avoid some useless msecs/jiffies conversions
Date: Sun, 29 Mar 2020 09:52:23 +0200 [thread overview]
Message-ID: <s5ho8sfd2dk.wl-tiwai@suse.de> (raw)
In-Reply-To: <202003281643.02SGhBrh000992@sdf.org>
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
next prev parent reply other threads:[~2020-03-29 7:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-22 0:25 [RFC PATCH v1 13/50] Avoid some useless msecs/jiffies conversions George Spelvin
2019-08-22 0:25 ` George Spelvin
2020-03-29 7:52 ` Takashi Iwai [this message]
2020-03-29 7:52 ` Takashi Iwai
2020-03-29 12:11 ` George Spelvin
2020-03-29 12:11 ` George Spelvin
2020-03-29 17:13 ` Takashi Iwai
2020-03-29 17:13 ` Takashi Iwai
2020-03-29 17:50 ` George Spelvin
2020-03-29 17:50 ` George Spelvin
2020-03-29 18:16 ` James Bottomley
2020-03-29 18:16 ` James Bottomley
2020-03-29 21:18 ` George Spelvin
2020-03-29 21:18 ` George Spelvin
2020-03-30 6:27 ` Takashi Iwai
2020-03-30 6:27 ` Takashi Iwai
2020-03-30 6:51 ` George Spelvin
2020-03-30 6:51 ` George Spelvin
2020-03-30 7:29 ` Takashi Iwai
2020-03-30 7:29 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5ho8sfd2dk.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=a@unstable.cc \
--cc=alsa-devel@alsa-project.org \
--cc=b.a.t.m.a.n@diktynna.open-mesh.org \
--cc=hare@suse.de \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=lkml@sdf.org \
--cc=mareklindner@neomailbox.ch \
--cc=sven@narfation.org \
--cc=sw@simonwunderlich.de \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.