Re: [PATCH 0/2] rdma: Converge on using secs_to_jiffies()

From: Leon Romanovsky
Date: Thu Feb 20 2025 - 02:07:52 EST


On Wed, Feb 19, 2025 at 09:36:38PM +0000, Easwar Hariharan wrote:
> This series converts users of msecs_to_jiffies() that either use the
> multiply pattern of either of:
> - msecs_to_jiffies(N*1000) or
> - msecs_to_jiffies(N*MSEC_PER_SEC)
>
> where N is a constant or an expression, to avoid the multiplication.

Can you please provide justification for that? What is wrong with current code?

Thanks