From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751823AbdJBUpM (ORCPT ); Mon, 2 Oct 2017 16:45:12 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:50821 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059AbdJBUpL (ORCPT ); Mon, 2 Oct 2017 16:45:11 -0400 Date: Mon, 2 Oct 2017 22:45:05 +0200 (CEST) From: Thomas Gleixner To: Don Zickus cc: Linus Torvalds , LKML , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , Benjamin Herrenschmidt , Michael Ellerman , Nicholas Piggin , ppc-dev Subject: Re: [RFC GIT Pull] core watchdog sanitizing In-Reply-To: <20171002203209.rjug625pfmgh674j@redhat.com> Message-ID: References: <20171002203209.rjug625pfmgh674j@redhat.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2 Oct 2017, Don Zickus wrote: > On Mon, Oct 02, 2017 at 07:32:57PM +0000, Thomas Gleixner wrote: > > static void softlockup_reconfigure_threads(void) > > There is a second copy of ^^^^, you will need to add identical locking there > too. Good catch, but then we might move it further out > > + cpus_read_unlock(); > > + /* > > + * Must be called outside the cpus locked section to prevent > > + * recursive locking in the perf code. > > + */ > > + __lockup_detector_cleanup(); Or not due to this .... Thanks, tglx