Re: [PATCH] watchdog: fix opencoded cpumask_next_wrap() in watchdog_next_cpu()
From: Doug Anderson
Date: Mon Jun 09 2025 - 13:18:32 EST
Hi,
On Wed, Jun 4, 2025 at 5:12 PM Yury Norov <yury.norov@xxxxxxxxx> wrote:
>
> From: Yury Norov [NVIDIA] <yury.norov@xxxxxxxxx>
>
> The dedicated helper is more verbose and efficient comparing to
> cpumask_next() followed by cpumask_first().
>
> Signed-off-by: Yury Norov [NVIDIA] <yury.norov@xxxxxxxxx>
> ---
> kernel/watchdog_buddy.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>