Received: by 10.223.185.116 with SMTP id b49csp309770wrg; Fri, 2 Mar 2018 19:58:14 -0800 (PST) X-Google-Smtp-Source: AG47ELtY7DsnSwNB75tY9osEbEg3uWVCIoA1J3DVWNjpZw4GfD5Rx9sTetaW6Ms8oCG0qZ8JB5a9 X-Received: by 10.98.166.85 with SMTP id t82mr7709410pfe.237.1520049493923; Fri, 02 Mar 2018 19:58:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520049493; cv=none; d=google.com; s=arc-20160816; b=oq00ye4RTtqdQPixGyli4mketbH0v2/f8Ll9iiTSZmZwXqIeQkpCj2I7TR8pNCnNMa TalkYply7kQRE0CPP0r0dg+hrjKoCvZr6ZtmAnfLkHULEUp18PAeBcZI2OtrdbH06CMM sACJI8Cm3ZABRu2/enkiXMCkhwiAlaepV2EMh1WGEjHed6jwxiZlHcX5dMs2VkTp5nQL GdmwThRmCjEP8RALDpb+7eGexvYuTcUdkL2/WwPwXA29buHv3uZtx31CEMOSjgkJWnee PA65KDCKcwzwF46bKrgYlPibMcI+FKNr7nbmJc+0F6NYkKDan9s2PTGkuqWdmVvaraET UslQ== 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:arc-authentication-results; bh=5FXEUIoeAptTEPlLFGYH0xmVapBEQGM0grE8znow6hQ=; b=Ewe6BXFQmuQpGq5oSix4HMlOwspaCukigO4rNAXUwEEaAA2qpI8NWjHLADfs/wiHB4 vp/ffJbHC5CslRjKSoQtnaIUPE5F0guuvlxFjUVm04uaPuw7adA2dSsa1QAeRUFkNdVB eVT90lsQxgQ3YgrfNOI2gkLGVd7CSi7175zx1q4QJLod7rpJFDfiRhRhBq0FmQA5zH6a Jyxdr7mIXYpyh8xsBgqGidmiTF/0y2pxVtH/dmlSIKanVwpVrZluiKhgluO6Z70FHxEe RmSeyFx5DqP//QAR42IS6mp2p54OaM3348McB83jL0kC5tOKvrnbHc3fba1/XtYDS/sw bGpQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si5890372pfi.360.2018.03.02.19.57.59; Fri, 02 Mar 2018 19:58:13 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964850AbeCCBIa (ORCPT + 99 others); Fri, 2 Mar 2018 20:08:30 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36627 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935733AbeCCBI2 (ORCPT ); Fri, 2 Mar 2018 20:08:28 -0500 Received: by mail-oi0-f66.google.com with SMTP id u73so8364618oie.3 for ; Fri, 02 Mar 2018 17:08:28 -0800 (PST) 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=5FXEUIoeAptTEPlLFGYH0xmVapBEQGM0grE8znow6hQ=; b=FZ08MAICAH+tK6HK1eZnDiWB6FSHEvUgL0Suod+1xs7c8hTVw1Vho4/uAQNnlAIBG6 Ey+SEt1Io8RxDg4Q+L0I06SdQeojmvsFD/ZZHJWXQThsUnRkTUvqsEBYNcrAVlFqwCGl rYTen2ePmm53lOi9B3QkOSR934uBbcP6KwjsPxdw9r/UkOq42dMiJul1E0Y/gC5Ca/qo Eh617pKyCD71F5KNhBTp8wQGTD4nc/qsvoUWsz8xgCsFczv1douLN5De6dvJy1ypygry MlMricbfYC5ki1WYg/l73+tYDX2/hBSoJ2wcuOkwJzxZtfl4s2PoyQJlrs0oVMaGvt70 813A== X-Gm-Message-State: AElRT7GdR6IWQiCKdUNdeOW+RVaRdsHGmzixu6GlY877jvMCrQuf6ZQk Gv06NB1d+PVDTfIyFFPVdAK7sbO0Zapb9P3zvCwN2g== X-Received: by 10.202.226.135 with SMTP id z129mr5011296oig.84.1520039308323; Fri, 02 Mar 2018 17:08:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.57.246 with HTTP; Fri, 2 Mar 2018 17:08:27 -0800 (PST) In-Reply-To: <20180302164052.5eea1b896e3a7125d1e1f23a@linux-foundation.org> References: <1519908465-12328-1-git-send-email-neelx@redhat.com> <0485727b2e82da7efbce5f6ba42524b429d0391a.1520011945.git.neelx@redhat.com> <20180302164052.5eea1b896e3a7125d1e1f23a@linux-foundation.org> From: Daniel Vacek Date: Sat, 3 Mar 2018 02:08:27 +0100 Message-ID: Subject: Re: [PATCH v3 2/2] mm/page_alloc: fix memmap_init_zone pageblock alignment To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Michal Hocko , Vlastimil Babka , Mel Gorman , Pavel Tatashin , Paul Burton , stable@vger.kernel.org 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 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