From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752654AbbEAA3h (ORCPT ); Thu, 30 Apr 2015 20:29:37 -0400 Received: from mga02.intel.com ([134.134.136.20]:41536 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750966AbbEAA3f (ORCPT ); Thu, 30 Apr 2015 20:29:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,680,1422950400"; d="scan'208";a="721931791" Date: Fri, 1 May 2015 08:29:32 +0800 From: Fengguang Wu To: Mel Gorman Cc: LKP , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [mm/meminit] PANIC: early exception 06 rip 10:ffffffff811bfa9a error 0 cr2 ffff88000fbff000 Message-ID: <20150501002932.GA13087@wfg-t540p.sh.intel.com> References: <20150429132817.GA10479@wfg-t540p.sh.intel.com> <20150429134131.GR2449@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150429134131.GR2449@suse.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > AuthorDate: Mon Sep 29 14:54:01 2014 +0100 > > Commit: Mel Gorman > > 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 > > > > 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 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); > }