Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752154AbYLWRNS (ORCPT ); Tue, 23 Dec 2008 12:13:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751193AbYLWRNI (ORCPT ); Tue, 23 Dec 2008 12:13:08 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:59318 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751143AbYLWRNF (ORCPT ); Tue, 23 Dec 2008 12:13:05 -0500 Date: Tue, 23 Dec 2008 12:12:59 -0500 From: Christoph Hellwig To: Roman Kononov Cc: npiggin@suse.de, linux-kernel@vger.kernel.org, xfs@oss.sgi.com Subject: Re: BUG: soft lockup - is this XFS problem? Message-ID: <20081223171259.GA11945@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2858 Lines: 57 Nick, I've seen various reports like this by Roman. It seems to be caused by an interaction of the lockless pagecache with the xfs I/O code. Any idea what might be wrong here: BUG: soft lockup - CPU#0 stuck for 61s! [postmaster:23237] Modules linked in: xd1000 CPU 0: Modules linked in: xd1000 Pid: 23237, comm: postmaster Not tainted 2.6.27.9 #1 RIP: 0010:[] [] find_get_pages+0x72/0x120 RSP: 0018:ffff88012e9f3498 EFLAGS: 00000297 RAX: ffff8800a4d752a0 RBX: 000000000000000c RCX: 0000000000000003 RDX: 0000000000000004 RSI: 0000000000000000 RDI: ffffe200004ab780 RBP: ffff88023f6b5028 R08: ffffe200004ab280 R09: 000000000000000d R10: 0000000000000021 R11: 00000000000aef22 R12: ffffffff80273e3c R13: ffffe20001208608 R14: 0100000000000286 R15: ffff88023f6b5028 FS: 00007fd397fb5700(0000) GS:ffffffff806d7540(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b CR2: 00002aaaaba00000 CR3: 000000017911c000 CR4: 00000000000006e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: kernel: [] ? find_get_pages+0x42/0x120 [] ? pagevec_lookup+0x17/0x20 [] ? xfs_cluster_write+0x91/0x160 [] ? xfs_page_state_convert+0x523/0x6c0 [] ? xfs_vm_writepage+0x71/0x120 [] ? shrink_page_list+0x592/0x700 [] ? shrink_zone+0x2b7/0xc70 [] ? try_to_free_pages+0x244/0x3b0 [] ? isolate_pages_global+0x0/0x40 [] ? congestion_wait+0x83/0xa0 [] ? autoremove_wake_function+0x0/0x30 [] ? __alloc_pages_internal+0x218/0x4e0 [] ? __grab_cache_page+0x6f/0xc0 [] ? block_write_begin+0x7d/0xe0 [] ? xfs_vm_write_begin+0x22/0x30 [] ? xfs_get_blocks+0x0/0x10 [] ? generic_file_buffered_write+0x1cb/0x790 [] ? _spin_lock_irqsave+0x1f/0x50 [] ? xfs_write+0x65c/0x950 [] ? _spin_unlock_irq+0x11/0x40 [] ? do_sync_write+0xdb/0x120 [] ? do_futex+0x109/0x9f0 [] ? autoremove_wake_function+0x0/0x30 [] ? wake_up_new_task+0xc0/0x100 [] ? vfs_write+0xcb/0x170 [] ? sys_write+0x53/0xa0 [] ? system_call_fastpath+0x16/0x1b [] ? system_call_fastpath+0x16/0x1b -- 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/