From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752657AbbFCCfJ (ORCPT ); Tue, 2 Jun 2015 22:35:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50207 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751708AbbFCCfC (ORCPT ); Tue, 2 Jun 2015 22:35:02 -0400 Date: Tue, 2 Jun 2015 22:34:57 -0400 From: Don Zickus To: Chris Metcalf Cc: Frederic Weisbecker , Andrew Morton , Ingo Molnar , Andrew Jones , Ulrich Obergfell , Fabian Frederick , Aaron Tomlin , Ben Zhang , Christoph Lameter , Gilad Ben-Yossef , Steven Rostedt , linux-kernel@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Thomas Gleixner , Peter Zijlstra Subject: Re: [PATCH v10 1/3] smpboot: allow excluding cpus from the smpboot threads Message-ID: <20150603023457.GH5847@redhat.com> References: <1430422766-19703-1-git-send-email-cmetcalf@ezchip.com> <1430422766-19703-2-git-send-email-cmetcalf@ezchip.com> <20150501085356.GA14149@lerouge> <5543DABF.4060303@ezchip.com> <20150501212329.GA4179@lerouge> <5547ED60.4020707@ezchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5547ED60.4020707@ezchip.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 04, 2015 at 06:06:24PM -0400, Chris Metcalf wrote: > On 5/1/2015 5:23 PM, Frederic Weisbecker wrote: > >On Fri, May 01, 2015 at 03:57:51PM -0400, Chris Metcalf wrote: > > > >>For example, booting with only cpu 0 as a housekeeping core (and > >>therefore all watchdogs 1-35 on my 36-core tilegx are parked), and > >>immediately doing "echo 0 > /proc/sys/kernel/watchdog", I see > >>(via SysRq ^O-l) the first parked watchdog, on cpu 1, hung with: > >> > >> frame 0: 0xfffffff7000f2928 lock_hrtimer_base+0xb8/0xc0 > >> frame 1: 0xfffffff7000f2a28 hrtimer_try_to_cancel+0x40/0x170 > >> frame 2: 0xfffffff7000f2a28 hrtimer_try_to_cancel+0x40/0x170 > >> frame 3: 0xfffffff7000f2b98 hrtimer_cancel+0x40/0x68 > >> frame 4: 0xfffffff70014cce0 watchdog_disable+0x50/0x70 > >> frame 5: 0xfffffff70008c2d0 smpboot_thread_fn+0x350/0x438 > >> frame 6: 0xfffffff700084b28 kthread+0x160/0x178 > >Have you tried to do that before your patchset? > > Yes, it works fine. It requires the presence of the parked threads to trigger the issue. > > >>The config does not have NO_HZ_FULL_ALL or NO_HZ_FULL_SYSIDLE > >>set, and does have RCU_FAST_NO_HZ and RCU_NOCB_CPU_ALL. > >> > >>I don't really know how to start debugging this, but I do know that > >>unparking the threads first avoids the issue :-) > >Do you have CONFIG_PROVE_LOCKING=y ? > > There seems to be some skew between the community version, which is throwing a > bunch of errors when I enable PROVE_LOCKING, and our internal version where some > things are not yet upstreamed but PROVE_LOCKING works :-) > > I'll try to set aside some time to reconcile the two to figure it out. Hi Chris, I was digging this thread back up and wondered what happened. It seems like a v11 was going to materialize? Cheers, Don