Re: [PATCH] blk-iocost: avoid 64-bit division in ioc_timer_fn
From: Jens Axboe
Date: Wed Jan 18 2023 - 11:46:58 EST
On Wed, 18 Jan 2023 09:07:01 +0100, Arnd Bergmann wrote:
> The behavior of 'enum' types has changed in gcc-13, so now the
> UNBUSY_THR_PCT constant is interpreted as a 64-bit number because
> it is defined as part of the same enum definition as some other
> constants that do not fit within a 32-bit integer. This in turn
> leads to some inefficient code on 32-bit architectures as well
> as a link error:
>
> [...]
Applied, thanks!
[1/1] blk-iocost: avoid 64-bit division in ioc_timer_fn
commit: 08a39c820686f87351b21c6cf6af76a40677d3af
Best regards,
--
Jens Axboe