From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e1.ny.us.ibm.com (8.13.8/8.13.8) with ESMTP id l8DJYjYg030832 for ; Thu, 13 Sep 2007 15:34:45 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l8DJYjqi563994 for ; Thu, 13 Sep 2007 15:34:45 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l8DJYi36001047 for ; Thu, 13 Sep 2007 15:34:45 -0400 Subject: 2.6.23-rc4-mm1 memory controller BUG_ON() From: Dave Hansen Content-Type: text/plain Date: Thu, 13 Sep 2007 12:34:43 -0700 Message-Id: <1189712083.17236.1626.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Balbir Singh Cc: Andrew Morton , linux-mm List-ID: Looks like somebody is holding a lock while trying to do a mem_container_charge(), and the mem_container_charge() call is doing an allocation. Naughty. I'm digging into it a bit more, but thought I'd report it, first. .config: http://sr71.net/~dave/linux/memory-controller-bug.config BUG: sleeping function called from invalid context at /home/dave/work/linux/2.6/23/rc4/mm1/lxc/mm/slab.c:3052 in_atomic():1, irqs_disabled():0 [] show_trace_log_lvl+0x19/0x2e [] show_trace+0x12/0x14 [] dump_stack+0x13/0x15 [] __might_sleep+0xe4/0xea [] kmem_cache_alloc+0x25/0xae [] mem_container_charge+0xc9/0x2cd [] mem_container_cache_charge+0x22/0x28 [] add_to_page_cache+0x35/0xd7 [] add_to_page_cache_lru+0x15/0x29 [] find_or_create_page+0x75/0x93 [] grow_dev_page+0x32/0x125 [] grow_buffers+0xb1/0xd4 [] __getblk_slow+0xb7/0xcf [] __getblk+0x44/0x4f [] ext3_getblk+0xca/0x19c [] ext3_find_entry+0x127/0x325 [] ext3_lookup+0x2c/0xe1 [] real_lookup+0x54/0xc5 [] do_lookup+0x59/0xa0 [] __link_path_walk+0x220/0xa4f [] link_path_walk+0x41/0xa5 [] path_walk+0x18/0x1a [] do_path_lookup+0x165/0x182 [] __path_lookup_intent_open+0x44/0x75 [] path_lookup_open+0x21/0x27 [] open_namei+0x7f/0x4c4 [] do_filp_open+0x26/0x3b [] do_sys_open+0x43/0xc7 [] sys_open+0x1a/0x1c [] init_post+0x45/0xe7 [] kernel_init+0x8a/0x8e [] kernel_thread_helper+0x7/0x10 ======================= -- Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org