Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760477AbZCPMek (ORCPT ); Mon, 16 Mar 2009 08:34:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757111AbZCPMe3 (ORCPT ); Mon, 16 Mar 2009 08:34:29 -0400 Received: from mail-ew0-f177.google.com ([209.85.219.177]:37292 "EHLO mail-ew0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbZCPMe1 (ORCPT ); Mon, 16 Mar 2009 08:34:27 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=iPFAZVJUnnX8sdRaMO0iEYv1UqbiNnlmPGK5paPmSsFEMuyM6ke5uc/XMDAdUi6fSY qfTqjfhxSmxYMCoTMFeGmULNmAIzcOzbPu46evdQ4Y7cAlsKfcM0uvne8USZk3QjTO7z tkyYNjpkz9wPdyA+IWIufoBOrAIEjkw8q89H4= MIME-Version: 1.0 Date: Mon, 16 Mar 2009 15:34:24 +0300 Message-ID: Subject: next-20090316: Inotify: inconsistent lock state From: Alexander Beregalov To: LKML , "linux-next@vger.kernel.org" , john@johnmccutchan.com, rlove@rlove.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3329 Lines: 73 Hi [ INFO: inconsistent lock state ] 2.6.29-rc8-next-20090316 #5 --------------------------------- inconsistent {RECLAIM_FS-ON-W} -> {IN-RECLAIM_FS-W} usage. kswapd0/318 [HC0[0]:SC0[0]:HE1:SE1] takes: (&inode->inotify_mutex){+.+.?.}, at: [] inotify_inode_is_dead+0x30/0xb0 {RECLAIM_FS-ON-W} state was registered at: [] mark_held_locks+0x69/0x90 [] lockdep_trace_alloc+0x41/0xb0 [] __kmalloc+0x46/0x150 [] kernel_event+0x97/0x130 [] inotify_dev_queue_event+0xa7/0x1b0 [] inotify_inode_queue_event+0xbe/0x100 [] vfs_mkdir+0xb5/0xd0 [] sys_mkdirat+0x106/0x120 [] sys_mkdir+0x13/0x20 [] system_call_fastpath+0x16/0x1b [] 0xffffffffffffffff irq event stamp: 93167 hardirqs last enabled at (93167): [] _spin_unlock_irqrestore+0x65/0x80 hardirqs last disabled at (93166): [] call_rcu+0x32/0x90 softirqs last enabled at (87738): [] __do_softirq+0x139/0x150 softirqs last disabled at (87733): [] call_softirq+0x1c/0x30 other info that might help us debug this: 2 locks held by kswapd0/318: #0: (shrinker_rwsem){++++..}, at: [] shrink_slab+0x32/0x1c0 #1: (&type->s_umount_key#19){++++..}, at: [] shrink_dcache_memory+0x11f/0x1e0 stack backtrace: Pid: 318, comm: kswapd0 Not tainted 2.6.29-rc8-next-20090316 #5 Call Trace: [] print_usage_bug+0x17d/0x190 [] mark_lock+0x332/0x420 [] ? check_usage_forwards+0x0/0xc0 [] __lock_acquire+0x3fd/0x1290 [] lock_acquire+0x91/0xc0 [] ? inotify_inode_is_dead+0x30/0xb0 [] __mutex_lock_common+0x59/0x4d0 [] ? inotify_inode_is_dead+0x30/0xb0 [] ? __lock_acquire+0x2ca/0x1290 [] ? inotify_inode_is_dead+0x30/0xb0 [] ? get_lock_stats+0x2a/0x60 [] mutex_lock_nested+0x3a/0x50 [] inotify_inode_is_dead+0x30/0xb0 [] dentry_iput+0xbc/0xe0 [] d_kill+0x2e/0x60 [] __shrink_dcache_sb+0x28a/0x390 [] shrink_dcache_memory+0x15a/0x1e0 [] shrink_slab+0x15c/0x1c0 [] kswapd+0x56a/0x6b0 [] ? finish_task_switch+0x46/0x110 [] ? isolate_pages_global+0x0/0x270 [] ? autoremove_wake_function+0x0/0x40 [] ? trace_hardirqs_on+0xd/0x10 [] ? _spin_unlock_irqrestore+0x42/0x80 [] ? kswapd+0x0/0x6b0 [] ? kswapd+0x0/0x6b0 [] kthread+0x56/0x90 [] child_rip+0xa/0x20 [] ? restore_args+0x0/0x30 [] ? kthread+0x0/0x90 [] ? child_rip+0x0/0x20 -- 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/