Skip to content

watchdog: address various races (CPU hotplug, timer expiry)

Ulrich Obergfell lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4watchdog: avoid race between lockup detector suspend/resume and CPU hotplugkernel/watchdog.c+2 -00 replies
2/4watchdog: avoid races between /proc handlers and CPU hotplugkernel/watchdog.c+6 -00 replies
3/4watchdog: remove {get|put}_online_cpus() from watchdog_{park|unpark}_threads()kernel/watchdog.c+6 -40 replies
4/4watchdog: fix race between proc_watchdog_thresh() and watchdog_timer_fn()kernel/watchdog.c+1 -10 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDon ZickusAaron Tomlin
SeriesA-b R-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] watchdog: address various races (CPU hotplug, timer expiry)

This patch set addresses various races in relation to CPU hotplug and a race in relation to watchdog timer expiry. I discovered the corner cases during code inspection. I haven't seen any of these issues occur in practice.

Ulrich Obergfell (4):
watchdog: avoid race between lockup detector suspend/resume and CPU
hotplug
watchdog: avoid races between /proc handlers and CPU hotplug
watchdog: remove {get|put}_online_cpus() from
watchdog_{park|unpark}_threads()
watchdog: fix race between proc_watchdog_thresh() and
watchdog_timer_fn()

 kernel/watchdog.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.11.7