Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756337AbYKKNnL (ORCPT ); Tue, 11 Nov 2008 08:43:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755639AbYKKNm5 (ORCPT ); Tue, 11 Nov 2008 08:42:57 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:53311 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755360AbYKKNm4 (ORCPT ); Tue, 11 Nov 2008 08:42:56 -0500 From: "Rafael J. Wysocki" To: Ingo Molnar Subject: Re: [Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_maps_update_begin+0x14/0x16 Date: Tue, 11 Nov 2008 14:47:36 +0100 User-Agent: KMail/1.9.9 Cc: Oleg Nesterov , KOSAKI Motohiro , Dmitry Torokhov , Dmitry Adamushko , Max Krasnyansky , Linux Kernel Mailing List , Kernel Testers List References: <20081110073047.GA28578@elte.hu> <20081111120111.GA3503@redhat.com> <20081111110708.GE15645@elte.hu> In-Reply-To: <20081111110708.GE15645@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811111447.37858.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2827 Lines: 68 On Tuesday, 11 of November 2008, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > On 11/11, KOSAKI Motohiro wrote: > > > > > > it seem simple ABBA lock, right? > > > > > > -> #4 (&dev->mutex){--..}: > > > [] validate_chain+0x831/0xaa2 > > > [] __lock_acquire+0x67a/0x6e0 > > > [] lock_acquire+0x5b/0x81 > > > [] mutex_lock_interruptible_nested+0xde/0x2f8 > > > [] input_register_handle+0x26/0x7a dev->mutex > > ^^^^^^^^^^ > > > [] kbd_connect+0x64/0x8d > > > [] input_attach_handler+0x38/0x6b > > > [] input_register_handler+0x74/0xc3 input_mutex > > > [] kbd_init+0x66/0x91 > > > [] vty_init+0xce/0xd7 > > > [] tty_init+0x193/0x197 > > > [] do_one_initcall+0x42/0x133 > > > [] kernel_init+0x16e/0x1d5 > > > [] kernel_thread_helper+0x7/0x10 > > > [] 0xffffffff > > > > > > -> #3 (input_mutex){--..}: > > > [] validate_chain+0x831/0xaa2 > > > [] __lock_acquire+0x67a/0x6e0 > > > [] lock_acquire+0x5b/0x81 > > > [] mutex_lock_interruptible_nested+0xde/0x2f8 > > > [] input_register_device+0xff/0x17f input_mutex > > > [] acpi_button_add+0x31e/0x429 > > > [] acpi_device_probe+0x43/0xde > > > [] driver_probe_device+0xa5/0x120 > > > [] __driver_attach+0x42/0x64 dev->sem > > ^^^^^^^^ > > input_dev->mutex != device->sem > > > > > ... > > > [] do_async_initcalls+0x1a/0x2a > > > [] run_workqueue+0xc3/0x193 > > > [] worker_thread+0xbb/0xc7 > > > [] kthread+0x40/0x66 > > > > What is the kernel version, btw? I can't find do_async_initcalls > > in 2.6.27 or 2.6.28. > > i suspect it's an older version of tip/master that still had async > initcalls. > > > Anyway, this really looks like lockdep bug to me. Even if we really > > have the circular dependency (will try to grep more) I can't > > understand why lockdep claims that polldev_mutex depends on > > cpu_add_remove_lock. > > ok, will re-report if i can trigger it again with latest kernels. > Rafael, please close this bug as cannot-reproduce for now. Done. Thanks, Rafael -- 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/