Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2703431ybe; Thu, 12 Sep 2019 13:34:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvArrxZ7/TZOf7rEEd7rretrwsZGbh3QPkwMvkiYiQsCgy01ay5c6cvYdCJjD+FEOPvtM1 X-Received: by 2002:a50:9e6c:: with SMTP id z99mr43165622ede.200.1568320450714; Thu, 12 Sep 2019 13:34:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568320450; cv=none; d=google.com; s=arc-20160816; b=YM2mSF6Rg8s6GcHyTU2007Kf2RkWyxK7+b62N7gU14CUztockhvjvtGKFbyEcSMrs5 6DJk2KuDcNhdwC73Ka++ibmX4ZOcku1k+N8qA8bXlwPK7Egf8/1EBxrMMQMSt3aLblFa jKy0RDlU8DzbkrxGL4PJET0qNocfsXMRtN4CV5NYrs5B0EUtz9kF3xuGpm8qIIzA/wem lNBJUwh+O2DHAMyL/4pJU3O8kOeBNR/82Udjj519L6ZrUQRyn5YfNg6IZgRFbEQP7wVG pSdQbnVlX+9Elnywrf0R/g3SZD/BiYvrXyIOUoUW5ZgPj/vc3V3IGUr8geFyMOd/c6+x dxkg== 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=GIktlzqZ0EM6KZL3q2ZrcsiE/GTi4jXC+2F1Rb7YP5U=; b=Hd8h01iLWNwSCZlq0erR96hjmeVVrnIr5MviAIzSKeu5gUK5/S6vumlo0JCbor4ypC TgbjgcJzYh+bZfazBMqBVayr4hzZJFCaatLgOVEGKn1FzCxmI+kGzftw7oB7uzgHVnXC IrURIxMuz78Dr72wB+LCBcYfWJnBT4sBBUuHgC5iYYc0Bw6EHgyyT6JOOpmXppzQiWyS g99mhmQ4YAcNTRNZTpme5QW9bSGJC5Xmbr71qkdWmHZT0VCJUkqgkoTi/k+Vs/reB+lz ztZthgNK4ZW5wW7Yrt1zVzu/0wCuSfNYcnrYdC2x8rxjCKsBK2hEdnGE8R4z/9V3cQwp SNHg== 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 ay3si13673154ejb.149.2019.09.12.13.33.45; Thu, 12 Sep 2019 13:34:10 -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 S1732500AbfILOJV (ORCPT + 99 others); Thu, 12 Sep 2019 10:09:21 -0400 Received: from elvis.franken.de ([193.175.24.41]:41051 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732348AbfILOJV (ORCPT ); Thu, 12 Sep 2019 10:09:21 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1i8Pmh-0003T2-00; Thu, 12 Sep 2019 16:09:19 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 1E80CC278A; Thu, 12 Sep 2019 16:09:12 +0200 (CEST) Date: Thu, 12 Sep 2019 16:09:12 +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: <20190912140912.GA13137@alpha.franken.de> References: <20190905133251.GA3650@rapoport-lnx> <20190905154831.88b7853b47ba7db7bd7626bd@suse.de> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190912155539.6151b0811e858455be4c8d86@suse.de> 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 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); on the last node will free this reserved memory, when memory is added node by node. This explains it. So when resending the patch add my Tested-by: Thomas Bogendoerfer Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]