Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp203913imu; Fri, 25 Jan 2019 00:31:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN6suts/lzMmVoj4ldPgEVpBBqR/+eOJh4b+Jc2Yxy7bRK77eOycVcXVDJ1HEpNBqN+3Iusu X-Received: by 2002:a62:d005:: with SMTP id p5mr10030824pfg.175.1548405113646; Fri, 25 Jan 2019 00:31:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548405113; cv=none; d=google.com; s=arc-20160816; b=yb+akLrksLKUEeOz4GfCay64doyLGrsoJpx262C98YMnsePvKgb+IpmD6YqAlNjci7 Bk9OY9tj9d3sCNJIyaPboibfkIep7DDiNNpMsIoJghO2udX12F0TDJ2G/Kvl/uiovMBB 4JOfc6A7piDwRacCY0ah8mYzGK495MYWUjVDJLUXKoftqq2CdXpfTTUBB0miyRq5kUVa lUb+1ytNE45LfJ4Muyfe7tBiKl4dKAyrmYw+Gbr/Yg8/9hLk51d5nRT3f2B4HCY4kkNO 9jLas4jMQO5Sio8Z2ZldPuBM5NCOppiC6Q56wvown7q8KHNXZJWSEYV5nSDc8KZVJ523 coIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=s959MnQiBuBEOqCDphc0B2HoPJFdoopSUyEsRjDKv2I=; b=Qs8//9bZExBHIysCdr+Gd6jaq0I5Afh7tnjdLo3Ehl+F+c8r8VjJAV15wDZggXt5s+ YaPN70uX1peKEFDZ01ANJ1HnxZ9FBk9U9PczsFQ85Vm9brvk7fusvHy52syAgHwGt8P3 5a4s8gJj1X8yiv/HNemtenetGx9zy/Nmd2msXq4XUjiGMqqVyKk1fXXYyNyPO9sIYEJ5 B4j8YhqPOeXqAAFcVHMPI0jRMLn9fvUCYAH3MlsQ9V9OQu1ZWUP5sYWYJMhRoVYELI7t yr8UPopeZpPbJS5gg1KW0BbpwINu0Unns/7UiHs7bq0bol9begyKd+p+bm9yFBzB53iw Nr5A== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15si22646641pgv.351.2019.01.25.00.31.37; Fri, 25 Jan 2019 00:31:53 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728223AbfAYI3z (ORCPT + 99 others); Fri, 25 Jan 2019 03:29:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:49918 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726200AbfAYI3y (ORCPT ); Fri, 25 Jan 2019 03:29:54 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 71423B04B; Fri, 25 Jan 2019 08:29:53 +0000 (UTC) Date: Fri, 25 Jan 2019 09:29:52 +0100 From: Michal Hocko To: Linus Torvalds Cc: robert shteynfeld , Mikhail Zaslonko , Linux List Kernel Mailing , Gerald Schaefer , Mikhail Gavrilov , Dave Hansen , Alexander Duyck , Andrew Morton , Pavel Tatashin , Steven Sistare , Daniel Jordan , Bob Picco Subject: Re: kernel panic due to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2830bf6f05fb3e05bc4743274b806c821807a684 Message-ID: <20190125082952.GG3560@dhcp22.suse.cz> References: <20190125073704.GC3560@dhcp22.suse.cz> <20190125081924.GF3560@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190125081924.GF3560@dhcp22.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 25-01-19 09:19:24, Michal Hocko wrote: > On Fri 25-01-19 08:37:04, Michal Hocko wrote: > > On Fri 25-01-19 17:48:32, Linus Torvalds wrote: > > > [ Just adding a lot of other people to the cc ] > > > > > > Robert, could you add a dmesg of a successful boot to that bugzilla, > > > or just as an attachement in email to this group of people.. > > > > > > This looks to be with the Fedora kernel config. Two people reporting > > > it, it looks like similar machines. > > > > > > I assume it's some odd memory sizing detail that happens to trigger a > > > particular case. > > > > Quite possible. > > Forgot to ask. Can we get a dmesg with 2830bf6f05fb ("mm, > memory_hotplug: initialize struct pages for the full memory section") > reverted and memblock=debug kernel command line parameter? And one more thing which I have overlook until now and it is not really clear to me. One of th comments says : The relevant part was: : kernel bug at mm/page_alloc.c=790 I suppose this is 4.19 stable kernel because that would be VM_BUG_ON_PAGE(pfn & ((1 << order) - 1), page); in __free_one_page. I do not really see how 2830bf6f05fb could make any difference here. It simply zeroes out the rest of the mem section and that is guaranteed to be allocated because we do not do subsections. The above VM_BUG_ON says that we start allocating an unaligned pfn for its order. Or are there two issues reported in that bug? -- Michal Hocko SUSE Labs