Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932818AbZFQLlp (ORCPT ); Wed, 17 Jun 2009 07:41:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757071AbZFQLli (ORCPT ); Wed, 17 Jun 2009 07:41:38 -0400 Received: from gir.skynet.ie ([193.1.99.77]:56792 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754573AbZFQLlh (ORCPT ); Wed, 17 Jun 2009 07:41:37 -0400 Date: Wed, 17 Jun 2009 12:41:36 +0100 From: Mel Gorman To: Ingo Molnar Cc: Andrew Morton , Catalin Marinas , torvalds@linux-foundation.org, fengguang.wu@intel.com, Pekka Enberg , linux-kernel@vger.kernel.org Subject: Re: WARNING: at mm/page_alloc.c:1159 get_page_from_freelist+0x325/0x655() Message-ID: <20090617114136.GA28529@csn.ul.ie> References: <200906162232.n5GMWRZe026963@imap1.linux-foundation.org> <20090616223649.719ea378.akpm@linux-foundation.org> <20090617111800.GA15261@elte.hu> <20090617113120.GA5061@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20090617113120.GA5061@elte.hu> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4053 Lines: 87 On Wed, Jun 17, 2009 at 01:31:20PM +0200, Ingo Molnar wrote: > > a new warning started popping up today, in the new page allocator > code. The allocation came from kmemleak: > This is not my changes as such. As part of another discussion, a warning was added for high-order __GFP_NOFAIL allocations. The changelog for commit dab48dab37d2770824420d1e01730a107fade1aa [page-allocator: warn if __GFP_NOFAIL is used for a large allocation] has more details. > WARNING: at mm/page_alloc.c:1159 get_page_from_freelist+0x325/0x655() > Hardware name: System Product Name > Modules linked in: > Pid: 4367, comm: ifup Not tainted 2.6.30-tip-04303-g5ada65e-dirty #54431 > Call Trace: > [] ? get_page_from_freelist+0x325/0x655 > [] warn_slowpath_common+0x88/0xcb > [] warn_slowpath_null+0x22/0x38 > [] get_page_from_freelist+0x325/0x655 > [] __alloc_pages_nodemask+0x14c/0x5b0 > [] ? deactivate_slab+0xce/0x16b > [] ? native_sched_clock+0x40/0x79 > [] ? deactivate_slab+0xce/0x16b > [] ? deactivate_slab+0xce/0x16b > [] alloc_pages_current+0xcc/0xeb > [] alloc_slab_page+0x2a/0x7e > [] new_slab+0x5b/0x210 > [] ? deactivate_slab+0xe7/0x16b > [] __slab_alloc+0x214/0x3da > [] ? kmemleak_alloc+0x83/0x35a > [] ? kmemleak_alloc+0x83/0x35a > [] kmem_cache_alloc+0xac/0x14e > [] kmemleak_alloc+0x83/0x35a > [] ? cfq_get_queue+0x101/0x231 No super sure who is responsible here but could you check /proc/slabinfo. Is cfq_queue now requiring high-order allocations for its slabs? > [] kmem_cache_alloc_node+0xf8/0x177 > [] ? cfq_get_queue+0x101/0x231 > [] cfq_get_queue+0x101/0x231 > [] ? _spin_lock_irqsave+0x7f/0xa1 > [] cfq_set_request+0x2a0/0x34c > [] elv_set_request+0x29/0x4e > [] get_request+0x208/0x2ea > [] ? __make_request+0x48/0x3c8 > [] get_request_wait+0x37/0x19c > [] ? __make_request+0x48/0x3c8 > [] __make_request+0x279/0x3c8 > [] generic_make_request+0x2ed/0x352 > [] submit_bio+0xd5/0xf2 > [] submit_bh+0x110/0x14a > [] ll_rw_block+0xc4/0x120 > [] ext3_bread+0x47/0x87 > [] ext3_find_entry+0x13a/0x5f2 > [] ? __lock_acquire+0x1f2/0x40e > [] ? d_alloc+0x19c/0x1ef > [] ? lock_release_holdtime+0x3f/0x14c > [] ? d_alloc+0x19c/0x1ef > [] ext3_lookup+0x43/0x10c > [] do_lookup+0xe4/0x182 > [] __link_path_walk+0x667/0x7d3 > [] path_walk+0x78/0xf7 > [] do_path_lookup+0x39/0xac > [] user_path_at+0x61/0xaf > [] ? mntput_no_expire+0x33/0xdb > [] ? cp_new_stat+0xf8/0x119 > [] vfs_fstatat+0x44/0x85 > [] vfs_stat+0x29/0x3f > [] sys_newstat+0x29/0x5e > [] ? lockdep_sys_exit_thunk+0x35/0x67 > [] system_call_fastpath+0x16/0x1b > ---[ end trace 2fb5866b65128972 ]--- > 4k 262128 large 0 gb 0 x 262128[ffff880000000000-ffff88003ffef000] miss 0 > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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/