Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753637AbaJVSk0 (ORCPT ); Wed, 22 Oct 2014 14:40:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45401 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752757AbaJVSkY (ORCPT ); Wed, 22 Oct 2014 14:40:24 -0400 Date: Wed, 22 Oct 2014 20:40:21 +0200 (CEST) From: Jiri Kosina To: Steven Rostedt cc: Peter Zijlstra , Ingo Molnar , "Rafael J. Wysocki" , Pavel Machek , linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: lockdep splat in CPU hotplug In-Reply-To: <20141022143728.18d1eb3d@gandalf.local.home> Message-ID: References: <20141021145809.GA799@home.goodmis.org> <20141022143728.18d1eb3d@gandalf.local.home> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Oct 2014, Steven Rostedt wrote: > > > > -> #1 (cpu_hotplug.lock#2){+.+.+.}: > > > > [] lock_acquire+0xac/0x130 > > > > [] mutex_lock_nested+0x5c/0x3b0 > > > > [] cpuidle_pause+0x12/0x30 > > > > [] dpm_suspend_noirq+0x44/0x340 > > > > [] dpm_suspend_end+0x38/0x80 > > > > [] hibernation_snapshot+0xcd/0x370 > > > > [] hibernate+0x168/0x210 > > > > [] state_store+0xe4/0xf0 > > > > [] kobj_attr_store+0xf/0x20 > > > > [] sysfs_kf_write+0x43/0x60 > > > > [] kernfs_fop_write+0xe7/0x170 > > > > [] vfs_write+0xb2/0x1f0 > > > > [] SyS_write+0x44/0xb0 > > > > [] system_call_fastpath+0x16/0x1b > > > > > > Yeah, this backtrace looks totally bogus. Unless there's some magic going on > > > with grabbing the get_online_cpus here? > > > > > > Could you send your config. Maybe it has to do with some debug magic? > > > > .config attached. > > > > Can you reproduce this all the time? I tried this config and pm-suspend > and pm-hibernate, and they both worked fine without a single lockdep > splat. Yes, it's 100% reliable for me. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/