Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3917619ybe; Mon, 16 Sep 2019 03:40:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwK349fS/NURx+VJho0y7yNlJkimFBVB2tKtPk5fZyIuJcIz7yLlZ87kveVKNh1ZINxKJrH X-Received: by 2002:a50:91d0:: with SMTP id h16mr5270261eda.152.1568630429198; Mon, 16 Sep 2019 03:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568630429; cv=none; d=google.com; s=arc-20160816; b=iVDWjeS7gJ1rPto5Vv6vt+mSCFC+b4ebFwI9+cb0EcfymTeSOeGHSLJPzG1UkLL/gX VX8qFcdAhfxFWRTKCwswe/zC+0cE0IPNkiMVTMaNzyKOTh3DiVZIMm2qS4uWPW6HkJ58 nogdXdVbsCXyVkuElDvjmP9XwaIL6me35Pde+DQrGUO6gKkNhFKTkiUTmax9HhTRgTsN nNjIHq+JexukeIASeCYANk78JoEQptj2rfP4TvNDoBwcWaG1cgRjOJBFbYUKMVtP7vSC mPgMMjK/x+qzHBqlb8dRvHSCjuxeAYhpwiqxRavKCbqr/FH9571R/vaQTUcAq77VM+Ll 4BlQ== 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=5hwx2mxBszHPdcM2sx36bSMntXCDj8eNsUGPvLyhNpo=; b=RzKzmAlqPc7ttSS5Z/6Le1SJ5F67JwfN6CHqzfn7P0pzusOuOvs0tDEaVjFr+Sy6qi 9GIqIAORUE1/qf2sbNtfrGzpS9g6MI2dXsZipVd1n13HiTjBxlt5IbovsMmecLbVyAkE 0bWKcqIG2D7Zv1N0oYOLJYOPVj+yQw7vWGBElCAsU2rtQzRrXlc9L7hoHdIlqO8M+/DF jNcKYOFchxjTNpkpUypinD7sTa0DCf+7mnQFstXkWdkHhIXQsLvbyZZVL3dVytY5BFc6 14lfGvK18rKd2laNpsEnTeDXes7nTrI/7vDYDyP9hpkRxU239VreVBQi7CqcBjhGZgW7 qYYg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f31si23544645ede.253.2019.09.16.03.40.05; Mon, 16 Sep 2019 03:40:29 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731660AbfIPJHP (ORCPT + 99 others); Mon, 16 Sep 2019 05:07:15 -0400 Received: from elvis.franken.de ([193.175.24.41]:52205 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726541AbfIPJHP (ORCPT ); Mon, 16 Sep 2019 05:07:15 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1i9myX-0002mF-00; Mon, 16 Sep 2019 11:07:13 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id E18CDC278F; Mon, 16 Sep 2019 11:07:05 +0200 (CEST) Date: Mon, 16 Sep 2019 11:07:05 +0200 From: Thomas Bogendoerfer To: Mike Rapoport Cc: Paul Burton , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM Message-ID: <20190916090705.GA5119@alpha.franken.de> References: <20190905154747.GB3650@rapoport-lnx> <20190905233800.0f6b3fb3722cde2f5a88663a@suse.de> <20190906130223.GA17704@rapoport-lnx> <20190909182242.c1ef9717d14b20212ef75954@suse.de> <20190910113243.GA19207@rapoport-lnx> <20190911160939.19f776535770d12ff51a2af7@suse.de> <20190912105831.GA10677@rapoport-lnx> <20190912155539.6151b0811e858455be4c8d86@suse.de> <20190912140912.GA13137@alpha.franken.de> <20190914104112.GA12045@rapoport-lnx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190914104112.GA12045@rapoport-lnx> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 14, 2019 at 11:41:13AM +0100, Mike Rapoport wrote: > On Thu, Sep 12, 2019 at 04:09:12PM +0200, Thomas Bogendoerfer wrote: > > On Thu, Sep 12, 2019 at 03:55:39PM +0200, Thomas Bogendoerfer wrote: > > > - reserved[0xd] [0x000000035bff8000-0x000000035bffffff], 0x0000000000008000 bytes flags: 0x0 > > > > > > I have no idea which reservation this is, but it's not from one of the > > > node data. > > > > that's sparsemem's mem_section. And > > > > free_bootmem_with_active_regions(node, end_pfn); > > It seems that the call to free_bootmem_with_active_regions() should have > been removed along with bootmem and it's not needed now. > > Can you please test the below version of the patch? Patch is good. I've compared bootlogs and output is the same regarding memblock/memory debug messages. When this is merged, I'll have a look into using memblock_alloc for the node memory. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]