Received: by 10.213.65.68 with SMTP id h4csp95998imn; Mon, 12 Mar 2018 07:50:28 -0700 (PDT) X-Google-Smtp-Source: AG47ELsnTeQ4GhVJ1pDaSwqwRRjedxxhBDyKCKBxc9Z0+Nnv1PtYWWHyYVoDhtnTqQJSMl4Z0/N2 X-Received: by 10.98.36.217 with SMTP id k86mr8246789pfk.137.1520866228113; Mon, 12 Mar 2018 07:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520866228; cv=none; d=google.com; s=arc-20160816; b=Pc6LDc00Z1dkgXz7e5B8ADBTjZ2GZHl0YwJ/1uRGO3krUOtG91bZK9J2GMFjP1fPBD nZmoKQsKKShQuA9ij3byq8/5/efOhjLs408SNwvUsPXwtS7KOZMvPfdY/IDuhiCwmaQH iaTYvi7Ot+0CYSy0Tjijbh6JtdP0NGuVO2RnBDWmE2V1aJFC27d6vniQOxQY+McexGna bwJEhlLLz3d4jHd2NFNRXIxSPLgBQg8NHpKu9K/5lfI51TuPejL75SZlXoZnqsjknKCr FysY1vhQcTFhhjFjLJ53o9xu4BX5PJ1znG32H8B5nqMsabXkz0ogW0rRSQtjVr4ctpcs hB6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=aNIq5i1PVdPr19QYBM1B4KUSwY3KeW19wS//ZswJuls=; b=FnXgmrtiq0zq3DWjzVnpRg3T4zCs2aMuxhgEbwO/4xKUnRZEn3ku6Wuw4kWYjG3fe9 rE6BHd2g1AA94BYucw95ayVBjeyJ+Z2CCU5Zo/+UtUZ/FlrGKAyW8gmfL9iWdLM2aEXE ODnLfPPFIK4fLsQkQVit8OvJ2m5OZiAfSVC/WXgd5uOt3tKYpeQ/KIofQmlLCNoyx30X DMScNw6Wh4HidqUXcJr7cB7N3ThiprKLvRxDxTQhwd3SgyZuS059qSgkSb39dC9KjlZv m6QuJgO7fBHXU1dxmqUuSOSffBTAamrl5k9VScy4fxR719LLgAMVxzPP56qwqU4gYh3j Lsqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ixcbBVwU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o129si5820317pfo.209.2018.03.12.07.50.12; Mon, 12 Mar 2018 07:50:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ixcbBVwU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751419AbeCLOtQ (ORCPT + 99 others); Mon, 12 Mar 2018 10:49:16 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:39580 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751232AbeCLOtO (ORCPT ); Mon, 12 Mar 2018 10:49:14 -0400 Received: by mail-lf0-f68.google.com with SMTP id f75-v6so23673428lfg.6 for ; Mon, 12 Mar 2018 07:49:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aNIq5i1PVdPr19QYBM1B4KUSwY3KeW19wS//ZswJuls=; b=ixcbBVwUAF2Xs9JnKRVJFCBBXE7/0HyV2Mf9LmlsyVJFewXjM6UMhwHwb5cHt3H67E rUleCBCACZYrTZ/BYMpcm6+0kJgRokDuKoq9iIZNVIGeJHbhGHxPVcZk9NkdJLkxrfZ2 bhJ3ryTYb1gSwTsmQmrWdmTrxOimXunjIDHA4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=aNIq5i1PVdPr19QYBM1B4KUSwY3KeW19wS//ZswJuls=; b=ZQSsMateMWZ16pPJSfzlzcJv3QpB8Xawm2uz+wjfrQhWnNpBHqFATRveRHlI439XWl Ux7IJHPFbUP/j+3PWqq4yxiSE9Y3Vo8YTTmJAl4kFTISA8EoX4eSmd569spPoC761CST hpRtWkDvbqxfuNfXhyCP4F5lMd4AFKhaibwmpjxyiSpzDie3X9hBEB67OCfo0mlx4sBI qISDSneMN9OtxFPmUTyTTZAWqGsuNteQlojP9Mxu4hF9qDwtbhxL9QI4ABEbo2sCPbDR OSN6Xo7sENYAnILxtCHxIIb3JPcVxfAa7fWku8ced4ugTHkRRFKcF5781IlHldO1yNZA Atag== X-Gm-Message-State: AElRT7FusmhcTNX/0CU+UfIyQuIw0J5iMJEum6/htpAHHE1TBx9T3zdr kNiAuBc5PYnXlmGOgwL+3wqDAOvisq5SjScfzppdUQ== X-Received: by 10.46.115.2 with SMTP id o2mr5673302ljc.89.1520866152893; Mon, 12 Mar 2018 07:49:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:4807:0:0:0:0:0 with HTTP; Mon, 12 Mar 2018 07:49:11 -0700 (PDT) In-Reply-To: References: <1519908465-12328-1-git-send-email-neelx@redhat.com> <0485727b2e82da7efbce5f6ba42524b429d0391a.1520011945.git.neelx@redhat.com> <20180302164052.5eea1b896e3a7125d1e1f23a@linux-foundation.org> From: Naresh Kamboju Date: Mon, 12 Mar 2018 20:19:11 +0530 Message-ID: Subject: Re: [PATCH v3 2/2] mm/page_alloc: fix memmap_init_zone pageblock alignment To: Sudeep Holla Cc: Daniel Vacek , Andrew Morton , open list , linux-mm@kvack.org, Michal Hocko , Vlastimil Babka , Mel Gorman , Pavel Tatashin , Paul Burton , linux- stable Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12 March 2018 at 17:56, Sudeep Holla wrote: > Hi, > > I couldn't find the exact mail corresponding to the patch merged in v4.16-rc5 > but commit 864b75f9d6b01 "mm/page_alloc: fix memmap_init_zone > pageblock alignment" > cause boot hang on my ARM64 platform. I have also noticed this problem on hi6220 Hikey - arm64. LKFT: linux-next: Hikey boot failed linux-next-20180308 https://bugs.linaro.org/show_bug.cgi?id=3676 - Naresh > > Log: > [ 0.000000] NUMA: No NUMA configuration found > [ 0.000000] NUMA: Faking a node at [mem > 0x0000000000000000-0x00000009ffffffff] > [ 0.000000] NUMA: NODE_DATA [mem 0x9fffcb480-0x9fffccf7f] > [ 0.000000] Zone ranges: > [ 0.000000] DMA32 [mem 0x0000000080000000-0x00000000ffffffff] > [ 0.000000] Normal [mem 0x0000000100000000-0x00000009ffffffff] > [ 0.000000] Movable zone start for each node > [ 0.000000] Early memory node ranges > [ 0.000000] node 0: [mem 0x0000000080000000-0x00000000f8f9afff] > [ 0.000000] node 0: [mem 0x00000000f8f9b000-0x00000000f908ffff] > [ 0.000000] node 0: [mem 0x00000000f9090000-0x00000000f914ffff] > [ 0.000000] node 0: [mem 0x00000000f9150000-0x00000000f920ffff] > [ 0.000000] node 0: [mem 0x00000000f9210000-0x00000000f922ffff] > [ 0.000000] node 0: [mem 0x00000000f9230000-0x00000000f95bffff] > [ 0.000000] node 0: [mem 0x00000000f95c0000-0x00000000fe58ffff] > [ 0.000000] node 0: [mem 0x00000000fe590000-0x00000000fe5cffff] > [ 0.000000] node 0: [mem 0x00000000fe5d0000-0x00000000fe5dffff] > [ 0.000000] node 0: [mem 0x00000000fe5e0000-0x00000000fe62ffff] > [ 0.000000] node 0: [mem 0x00000000fe630000-0x00000000feffffff] > [ 0.000000] node 0: [mem 0x0000000880000000-0x00000009ffffffff] > [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000009ffffffff] > > On Sat, Mar 3, 2018 at 1:08 AM, Daniel Vacek wrote: >> On Sat, Mar 3, 2018 at 1:40 AM, Andrew Morton wrote: >>> On Sat, 3 Mar 2018 01:12:26 +0100 Daniel Vacek wrote: >>> >>>> Commit b92df1de5d28 ("mm: page_alloc: skip over regions of invalid pfns >>>> where possible") introduced a bug where move_freepages() triggers a >>>> VM_BUG_ON() on uninitialized page structure due to pageblock alignment. >>> >>> b92df1de5d28 was merged a year ago. Can you suggest why this hasn't >>> been reported before now? >> >> Yeah. I was surprised myself I couldn't find a fix to backport to >> RHEL. But actually customers started to report this as soon as 7.4 >> (where b92df1de5d28 was merged in RHEL) was released. I remember >> reports from September/October-ish times. It's not easily reproduced >> and happens on a handful of machines only. I guess that's why. But >> that does not make it less serious, I think. >> >> Though there actually is a report here: >> https://bugzilla.kernel.org/show_bug.cgi?id=196443 >> >> And there are reports for Fedora from July: >> https://bugzilla.redhat.com/show_bug.cgi?id=1473242 >> and CentOS: https://bugs.centos.org/view.php?id=13964 >> and we internally track several dozens reports for RHEL bug >> https://bugzilla.redhat.com/show_bug.cgi?id=1525121 >> >> Enough? ;-) >> >>> This makes me wonder whether a -stable backport is really needed... >> >> For some machines it definitely is. Won't hurt either, IMHO. >> >> --nX