Re: [PATCH 04/10] watchdog/hardlockup: In watchdog_hardlockup_check() use cpumask_copy()

From
Petr Mladek <pmladek@suse.com>
Date
2023-05-30 14:41:06
Also in
linux-perf-users, lkml, sparclinux
Reply to
Douglas Anderson, 2023-05-27
On Fri 2023-05-26 18:41:34, Douglas Anderson wrote:
In the patch ("watchdog/hardlockup: add a "cpu" param to
watchdog_hardlockup_check()") we started using a cpumask to keep track
of which CPUs to backtrace. When setting up this cpumask, it's better
to use cpumask_copy() than to just copy the structure directly. Fix this.

Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr
Thread (21 messages) 21 messages, 2 authors, last reply 2023-06-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help