Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762467AbXEJVnk (ORCPT ); Thu, 10 May 2007 17:43:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758477AbXEJVnd (ORCPT ); Thu, 10 May 2007 17:43:33 -0400 Received: from smtp1.linux-foundation.org ([65.172.181.25]:58799 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757263AbXEJVnc (ORCPT ); Thu, 10 May 2007 17:43:32 -0400 Date: Thu, 10 May 2007 14:43:19 -0700 From: Andrew Morton To: Christoph Lameter Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Nicolas.Mailhot@LaPoste.net, "bugme-daemon@kernel-bugs.osdl.org" Subject: Re: [Bug 8464] New: autoreconf: page allocation failure. order:2, mode:0x84020 Message-Id: <20070510144319.48d2841a.akpm@linux-foundation.org> In-Reply-To: <200705102128.l4ALSI2A017437@fire-2.osdl.org> References: <200705102128.l4ALSI2A017437@fire-2.osdl.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.6; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3514 Lines: 76 On Thu, 10 May 2007 14:28:18 -0700 bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=8464 > > Summary: autoreconf: page allocation failure. order:2, > mode:0x84020 > Kernel Version: 2.6.21-mm2 with SLUB > Status: NEW > Severity: normal > Owner: clameter@sgi.com > Submitter: Nicolas.Mailhot@LaPoste.net > CC: akpm@osdl.org > > > Most recent kernel where this bug did *NOT* occur: 2.6.21-rc6.mm1 with SLAB > Distribution: Fedora Devel > Hardware Environment: AMD X2 on CK804 > Software Environment: N/A > Problem Description: > > Just noticed this in kernel logs : > > autoreconf: page allocation failure. order:2, mode:0x84020 > May 10 20:13:13 rousalka kernel: > May 10 20:13:13 rousalka kernel: Call Trace: > May 10 20:13:13 rousalka kernel: [] __alloc_pages+0x2aa/0x2c3 > May 10 20:13:13 rousalka kernel: [] bio_alloc+0x10/0x1f > May 10 20:13:13 rousalka kernel: [] __slab_alloc+0x196/0x586 > May 10 20:13:13 rousalka kernel: [] > radix_tree_node_alloc+0x36/0x7e > May 10 20:13:13 rousalka kernel: [] kmem_cache_alloc+0x32/0x4e > May 10 20:13:13 rousalka kernel: [] > radix_tree_node_alloc+0x36/0x7e > May 10 20:13:13 rousalka kernel: [] radix_tree_insert+0xcb/0x18c > May 10 20:13:13 rousalka kernel: [] :ext3:ext3_get_block+0x0/0xe4 > May 10 20:13:13 rousalka kernel: [] add_to_page_cache+0x3d/0x95 > May 10 20:13:13 rousalka kernel: [] mpage_readpages+0x85/0x12c > May 10 20:13:13 rousalka kernel: [] :ext3:ext3_get_block+0x0/0xe4 > May 10 20:13:13 rousalka kernel: [] > __do_page_cache_readahead+0x158/0x22d > May 10 20:13:13 rousalka kernel: [] > :dm_mod:dm_table_any_congested+0x46/0x63 > May 10 20:13:13 rousalka kernel: [] > :dm_mod:dm_any_congested+0x3b/0x42 > May 10 20:13:13 rousalka kernel: [] filemap_fault+0x162/0x347 > May 10 20:13:13 rousalka kernel: [] __do_fault+0x66/0x446 > May 10 20:13:13 rousalka kernel: [] __handle_mm_fault+0x4b1/0x8f5 > May 10 20:13:13 rousalka kernel: [] do_page_fault+0x39a/0x7b7 > May 10 20:13:13 rousalka kernel: [] do_page_fault+0x447/0x7b7 > May 10 20:13:13 rousalka kernel: [] error_exit+0x0/0x84 > This looks bad. It's a bit hard to tell who failed - was it bio_alloc() or was it radix-tree node allocation? Give the allocation mode, I'd suspect bio_alloc(), but I don't immediately see where we'd be doing an atomic allocation for a bio. Either way, it would worry me greatly if slub is fiddling with the mapping of object-size-to-page-allocation-order. A _lot_ of things which were previously relaible and hugely tested would become less reliable, and less tested. Christoph, can we please take a look at /proc/slabinfo and its slub equivalent (I forget what that is?) and review any and all changes to the underlying allocation size for each cache? Because this is *not* something we should change lightly. - 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/