From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from Galois.linutronix.de (Galois.linutronix.de [IPv6:2a01:7a0:2:106d:700::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3y5Z1g3qhPzDqhf for ; Tue, 3 Oct 2017 07:45:43 +1100 (AEDT) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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