[PATCH 1/4] iopoll: Generalize read_poll_timeout() into poll_timeout_us()
Lucas De Marchi
lucas.demarchi at intel.com
Thu Jul 3 14:28:18 UTC 2025
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
More information about the Intel-gfx
mailing list