From: Vegard Nossum <vegard.nossum@gmail.com>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: penberg@cs.helsinki.fi, linux-kernel@vger.kernel.org
Subject: Re: KMEMCHECK: linux-next: kernel BUG at arch/x86/mm/kmemcheck/kmemcheck.c:297!
Date: Sun, 15 Mar 2009 18:47:13 +0100 [thread overview]
Message-ID: <20090315174713.GA11207@damson.getinternet.no> (raw)
In-Reply-To: <200903110418.n2B4IU4q072339@www262.sakura.ne.jp>
2009/3/11 Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>:
> Hello.
>
> I encountered this.
>
> [ 0.004000] ------------[ cut here ]------------
> [ 0.004000] kernel BUG at arch/x86/mm/kmemcheck/kmemcheck.c:297!
Hi, thanks for this report!
I have a feeling that the following patch might fix it. Please try it out
only if you have the time. I will also try to reproduce it when I have the
time myself.
Vegard
diff --git a/arch/x86/mm/init.c b/arch/x86/mm/init.c
index 6d63e3d..86f7398 100644
--- a/arch/x86/mm/init.c
+++ b/arch/x86/mm/init.c
@@ -146,7 +146,7 @@ unsigned long __init_refok init_memory_mapping(unsigned long start,
if (!after_bootmem)
init_gbpages();
-#ifdef CONFIG_DEBUG_PAGEALLOC
+#if defined(CONFIG_DEBUG_PAGEALLOC) || defined(CONFIG_KMEMCHECK)
/*
* For CONFIG_DEBUG_PAGEALLOC, identity mapping will use small pages.
* This will simplify cpa(), which otherwise needs to support splitting
next prev parent reply other threads:[~2009-03-15 17:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 4:18 Tetsuo Handa
2009-03-15 17:47 ` Vegard Nossum [this message]
2009-03-16 0:54 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090315174713.GA11207@damson.getinternet.no \
--to=vegard.nossum@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=penberg@cs.helsinki.fi \
--cc=penguin-kernel@i-love.sakura.ne.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®