]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog/core, powerpc: Lock cpus across reconfiguration
authorThomas Gleixner <tglx@linutronix.de>
Tue, 3 Oct 2017 14:37:53 +0000 (16:37 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 4 Oct 2017 08:53:54 +0000 (10:53 +0200)
commitda109a9900e45c0656ca29e726a5d1ac9a056f8b
treeb027de413e024bea4f8e88d364b7413bc20ac9b3
parent931bded61696d1e6158b0bd1eba39630753ccb11
watchdog/core, powerpc: Lock cpus across reconfiguration

Instead of dropping the cpu hotplug lock after stopping NMI watchdog and
threads and reaquiring for restart, the code and the protection rules
become more obvious when holding cpu hotplug lock across the full
reconfiguration.

Suggested-by: Linus Torvalds <torvalds@linuxfoundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1710022105570.2114@nanos
arch/powerpc/kernel/watchdog.c
kernel/smpboot.c
kernel/watchdog.c