From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from m5.gw.fujitsu.co.jp ([10.0.50.75]) by fgwmail7.fujitsu.co.jp (Fujitsu Gateway) with ESMTP id m9L6tKOl021515 for (envelope-from kamezawa.hiroyu@jp.fujitsu.com); Tue, 21 Oct 2008 15:55:21 +0900 Received: from smail (m5 [127.0.0.1]) by outgoing.m5.gw.fujitsu.co.jp (Postfix) with ESMTP id AD5202AC026 for ; Tue, 21 Oct 2008 15:55:20 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (s2.gw.fujitsu.co.jp [10.0.50.92]) by m5.gw.fujitsu.co.jp (Postfix) with ESMTP id 83B4712C044 for ; Tue, 21 Oct 2008 15:55:20 +0900 (JST) Received: from s2.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 72E331DB803A for ; Tue, 21 Oct 2008 15:55:20 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.249.87.103]) by s2.gw.fujitsu.co.jp (Postfix) with ESMTP id 2F4451DB8037 for ; Tue, 21 Oct 2008 15:55:20 +0900 (JST) Date: Tue, 21 Oct 2008 15:54:54 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [memcg BUG] unable to handle kernel NULL pointer derefence at 00000000 Message-Id: <20081021155454.db6888e4.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <48FD74AB.9010307@cn.fujitsu.com> References: <20081017194804.fce28258.nishimura@mxp.nes.nec.co.jp> <20081017195601.0b9abda1.nishimura@mxp.nes.nec.co.jp> <6599ad830810201253u3bca41d4rabe48eb1ec1d529f@mail.gmail.com> <20081021101430.d2629a81.kamezawa.hiroyu@jp.fujitsu.com> <48FD6901.6050301@linux.vnet.ibm.com> <20081021143955.eeb86d49.kamezawa.hiroyu@jp.fujitsu.com> <48FD74AB.9010307@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Li Zefan Cc: balbir@linux.vnet.ibm.com, Paul Menage , Daisuke Nishimura , linux-mm@kvack.org List-ID: On Tue, 21 Oct 2008 14:20:27 +0800 Li Zefan wrote: > > BTW, "allocate all page_cgroup at boot" patch goes to Linus' git. Wow. > > > > But seems this patch causes kernel panic at system boot ... (or maybe one of other > memcg patches?) > > I wrote down the panic manually: > > BUG: unable to handle kernel NULL pointer dereference at 00000000 > IP: page_cgroup_zoneinfo + 0xa > > Call Trace: > ? mem_cgroup_charge_common + 0x17d > ? mem_cgroup_charge > ? add_to_page_cache_locked > ? add_to_page_cache_lru > ? find_or_create_page > ? __getblk > ? ext3_get_inode_loc > ? ext3_iget > ? ext3_lookup > > Tell me if you need extra information. > Hmm, it's curious but page_cgroup->page seems to be NULL... Could you show disassemble code of page_cgroup_zoneinfo() ? BTW, this happens always ? Thanks, -Kame -- 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