[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <l2dmr55iucsg55e2qtsf46fn3huy5znd4tctzqcr7vq4durr3c@4xgp5ch3vrfl>
Date: Thu, 3 Jul 2025 09:28:18 -0500
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: Ville Syrjala <ville.syrjala@...ux.intel.com>
CC: <linux-kernel@...r.kernel.org>, Jani Nikula <jani.nikula@...el.com>,
"Dibin Moolakadan Subrahmanian" <dibin.moolakadan.subrahmanian@...el.com>,
Imre Deak <imre.deak@...el.com>, David Laight <david.laight.linux@...il.com>,
"Geert Uytterhoeven" <geert+renesas@...der.be>, Matt Wagantall
<mattw@...eaurora.org>, Dejin Zheng <zhengdejin5@...il.com>,
<intel-gfx@...ts.freedesktop.org>, <intel-xe@...ts.freedesktop.org>
Subject: Re: [PATCH 1/4] iopoll: Generalize read_poll_timeout() into
poll_timeout_us()
On Thu, Jul 03, 2025 at 01:34:36AM +0300, Ville Syrjälä wrote:
>-#define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \
>- sleep_before_read, args...) \
>+#define poll_timeout_us(op, cond, sleep_us, timeout_us, sleep_before_op) \
nit: could use use usec/msec etc that pairs nicely with USEC_PER_SEC
and friends, also used by tools like perf and are a little bit more
greppable than ms/us?
Lucas De Marchi
Powered by blists - more mailing lists