Re: [PATCH] watchdog: fix opencoded cpumask_next_wrap() in watchdog_next_cpu()

From: Yury Norov
Date: Sat Jun 21 2025 - 10:58:48 EST


On Mon, Jun 09, 2025 at 10:16:51AM -0700, Doug Anderson wrote:
> 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>

Thanks, Douglas. Adding in bitmap-for-next for testing.