Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754367AbZD2VlW (ORCPT ); Wed, 29 Apr 2009 17:41:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753637AbZD2VlG (ORCPT ); Wed, 29 Apr 2009 17:41:06 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:42987 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753187AbZD2VlE (ORCPT ); Wed, 29 Apr 2009 17:41:04 -0400 From: "Rafael J. Wysocki" To: Marcin Slusarz Subject: Re: [Bug #13068] Lockdep warining in inotify_dev_queue_event Date: Wed, 29 Apr 2009 23:40:16 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.30-rc3-rjw; KDE/4.2.2; x86_64; ; ) Cc: Sachin Sant , Linux Kernel Mailing List , Kernel Testers List References: <47KgT3nlbjD.A.lnB.jc48JB@chimera> <200904292151.46107.rjw@sisk.pl> <49F8C255.2040301@gmail.com> In-Reply-To: <49F8C255.2040301@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904292340.17071.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5134 Lines: 96 On Wednesday 29 April 2009, Marcin Slusarz wrote: > Rafael J. Wysocki pisze: > > On Wednesday 29 April 2009, Sachin Sant wrote: > >> Rafael J. Wysocki wrote: > >>> This message has been generated automatically as a part of a report > >>> of recent regressions. > >>> > >>> The following bug entry is on the current list of known regressions > >>> from 2.6.29. Please verify if it still should be listed and let me know > >>> (either way). > >>> > >>> > >>> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=13068 > >>> Subject : Lockdep warining in inotify_dev_queue_event > >>> Submitter : Sachin Sant > >>> Date : 2009-04-05 12:37 (21 days old) > >>> References : http://marc.info/?l=linux-kernel&m=123893439229272&w=4 > >>> > >>> > >>> > >> I have not been able to recreate this problem with recent > >> kernels(rc3-git's). > > > > Thanks, I've closed the bug. > > Was it really fixed? I'm on 56a50adda49b2020156616c4eb15353e0f9ad7de and still seeing this warning. > > [ 2771.164306] > [ 2771.164309] ================================= > [ 2771.164323] [ INFO: inconsistent lock state ] > [ 2771.164329] 2.6.30-rc3-mod-56a50adda #121 > [ 2771.164333] --------------------------------- > [ 2771.164338] inconsistent {IN-RECLAIM_FS-W} -> {RECLAIM_FS-ON-W} usage. > [ 2771.164344] emerge/14418 [HC0[0]:SC0[0]:HE1:SE1] takes: > [ 2771.164349] (&inode->inotify_mutex){+.+.?.}, at: [] inotify_inode_queue_event+0x4f/0xe0 > [ 2771.164367] {IN-RECLAIM_FS-W} state was registered at: > [ 2771.164371] [] __lock_acquire+0x618/0x7b1 > [ 2771.164382] [] lock_acquire+0xef/0x111 > [ 2771.164390] [] mutex_lock_nested+0x5a/0x2da > [ 2771.164399] [] inotify_inode_is_dead+0x29/0x8f > [ 2771.164407] [] dentry_iput+0x7c/0xbb > [ 2771.164416] [] d_kill+0x41/0x62 > [ 2771.164423] [] __shrink_dcache_sb+0x20c/0x2af > [ 2771.164433] [] shrink_dcache_memory+0xfe/0x18e > [ 2771.164440] [] shrink_slab+0xe2/0x176 > [ 2771.164448] [] kswapd+0x35c/0x542 > [ 2771.164455] [] kthread+0x50/0x7c > [ 2771.164465] [] child_rip+0xa/0x20 > [ 2771.164473] [] 0xffffffffffffffff > [ 2771.164481] irq event stamp: 5964095 > [ 2771.164484] hardirqs last enabled at (5964095): [] kmem_cache_alloc+0x9a/0x138 > [ 2771.164495] hardirqs last disabled at (5964094): [] __slab_alloc+0x349/0x5c6 > [ 2771.164504] softirqs last enabled at (5962724): [] __do_softirq+0x1be/0x1ca > [ 2771.164514] softirqs last disabled at (5962715): [] call_softirq+0x1a/0x24 > [ 2771.164522] > [ 2771.164523] other info that might help us debug this: > [ 2771.164529] 4 locks held by emerge/14418: > [ 2771.164533] #0: (&type->i_mutex_dir_key#2){+.+.+.}, at: [] do_filp_open+0x183/0x7d0 > [ 2771.164550] #1: (&inode->inotify_mutex){+.+.?.}, at: [] inotify_inode_queue_event+0x4f/0xe0 > [ 2771.164567] #2: (&ih->mutex){+.+...}, at: [] inotify_inode_queue_event+0x7d/0xe0 > [ 2771.164582] #3: (&dev->ev_mutex){+.+...}, at: [] inotify_dev_queue_event+0x36/0x15b > [ 2771.164598] > [ 2771.164599] stack backtrace: > [ 2771.164606] Pid: 14418, comm: emerge Not tainted 2.6.30-rc3-mod-56a50adda #121 > [ 2771.164611] Call Trace: > [ 2771.164617] [] print_usage_bug+0x1b8/0x1c9 > [ 2771.164623] [] ? check_usage_backwards+0x0/0x9f > [ 2771.164629] [] mark_lock+0x2e3/0x546 > [ 2771.164635] [] mark_held_locks+0x4d/0x6a > [ 2771.164641] [] lockdep_trace_alloc+0xa6/0xbf > [ 2771.164647] [] ? kernel_event+0xa9/0x113 > [ 2771.164653] [] __kmalloc+0xc2/0x1db > [ 2771.164660] [] kernel_event+0xa9/0x113 > [ 2771.164666] [] inotify_dev_queue_event+0xe0/0x15b > [ 2771.164673] [] inotify_inode_queue_event+0xab/0xe0 > [ 2771.164679] [] vfs_create+0xf6/0x119 > [ 2771.164685] [] ? mnt_want_write+0x26/0xa4 > [ 2771.164691] [] do_filp_open+0x241/0x7d0 > [ 2771.164697] [] ? alloc_fd+0xfe/0x10d > [ 2771.164704] [] ? sub_preempt_count+0xa0/0xbd > [ 2771.164710] [] ? _spin_unlock+0x30/0x49 > [ 2771.164716] [] do_sys_open+0x53/0xda > [ 2771.164722] [] sys_open+0x1b/0x1d > [ 2771.164728] [] system_call_fastpath+0x16/0x1b OK, reopened. Since Sachin is no longer able to reproduce it, now you're the reporter. :-) 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/