diff options
author | Douglas Anderson <[email protected]> | 2023-05-26 18:41:37 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2023-06-19 16:25:28 -0700 |
commit | 813efda23934edcad96343fc96727017378c3fe9 (patch) | |
tree | b914278b1c632f9e72ffe70ef6cd39b8a04d469d /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | d3b62ace0f097f1d863fb6c41df3c61503e4ec9e (diff) |
watchdog/buddy: don't copy the cpumask in watchdog_next_cpu()
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.
Link: https://lkml.kernel.org/r/20230526184139.7.If466f9a2b50884cbf6a1d8ad05525a2c17069407@changeid
Signed-off-by: Douglas Anderson <[email protected]>
Suggested-by: Petr Mladek <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Nicholas Piggin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions