[PATCH 07/10] watchdog/buddy: Don't copy the cpumask in watchdog_next_cpu()

Petr Mladek pmladek at suse.com
Wed May 31 00:57:22 AEST 2023


On Fri 2023-05-26 18:41:37, Douglas Anderson wrote:
> There's no reason to make a copy of the "watchdog_cpus" locally in
> watchdog_next_cpu(). Making a copy wouldn't make things any more race
> free and we're just reading the value so there's no need for a copy.
> 
> Suggested-by: Petr Mladek <pmladek at suse.com>
> Signed-off-by: Douglas Anderson <dianders at chromium.org>

Reviewed-by: Petr Mladek <pmladek at suse.com>

Best Regards,
Petr


More information about the Linuxppc-dev mailing list