linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Mel Gorman <mgorman@suse.de>
Cc: LKP <lkp@01.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [mm/meminit] PANIC: early exception 06 rip 10:ffffffff811bfa9a error 0 cr2 ffff88000fbff000
Date: Fri, 1 May 2015 08:29:32 +0800	[thread overview]
Message-ID: <20150501002932.GA13087@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <20150429134131.GR2449@suse.de>

Hi Mel,

On Wed, Apr 29, 2015 at 02:41:31PM +0100, Mel Gorman wrote:
> On Wed, Apr 29, 2015 at 09:28:17PM +0800, Fengguang Wu wrote:
> > Greetings,
> > 
> > 0day kernel testing robot got the below dmesg and the first bad commit is
> > 
> > git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux-balancenuma mm-deferred-meminit-v6r1
> > 
> > commit 285c36ab5b3e59865a0f4d79f4c1758455e684f7
> > Author:     Mel Gorman <mgorman@suse.de>
> > AuthorDate: Mon Sep 29 14:54:01 2014 +0100
> > Commit:     Mel Gorman <mgorman@suse.de>
> > CommitDate: Wed Apr 22 19:48:15 2015 +0100
> > 
> >     mm: meminit: Reduce number of times pageblocks are set during struct page init
> >     
> >     During parallel sturct page initialisation, ranges are checked for every
> >     PFN unnecessarily which increases boot times. This patch alters when the
> >     ranges are checked.
> >     
> >     Signed-off-by: Mel Gorman <mgorman@suse.de>
> > 
> 
> The series is old but I think it's still relevant. Can you try this
> please?

Yes it fixed the problem.

Tested-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks,
Fengguang

> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 9c8f2a72263d..19543f708642 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -4489,8 +4489,8 @@ void __meminit memmap_init_zone(unsigned long size, int nid, unsigned long zone,
>  		if (!(pfn & (pageblock_nr_pages - 1))) {
>  			struct page *page = pfn_to_page(pfn);
>  
> -			set_pageblock_migratetype(page, MIGRATE_MOVABLE);
>  			__init_single_page(page, pfn, zone, nid);
> +			set_pageblock_migratetype(page, MIGRATE_MOVABLE);
>  		} else {
>  			__init_single_pfn(pfn, zone, nid);
>  		}

--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2015-05-01  0:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29 13:28 Fengguang Wu
2015-04-29 13:41 ` Mel Gorman
2015-05-01  0:29   ` Fengguang Wu [this message]

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=20150501002932.GA13087@wfg-t540p.sh.intel.com \
    --to=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@01.org \
    --cc=mgorman@suse.de \
    /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