Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4307038ybe; Mon, 16 Sep 2019 09:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOmvR9kHlyYId9fHWNFXPnyHp/U7/9DFBqL/lgZMbbuQP3ug3B9p66N3N746+DoS6A2xm9 X-Received: by 2002:a17:906:1304:: with SMTP id w4mr978588ejb.6.1568653056510; Mon, 16 Sep 2019 09:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568653056; cv=none; d=google.com; s=arc-20160816; b=Vf5uSGWwvvI+Mhiz5Qr+uboMk1CuDtf0FA/40f89c9K49/sXShaitgIki3CRy6bNHo l0ppyCNQebmw4j8ewJY0RjL/SYWcixH+kVeTZs6w685IPIcHFIYpqrqMDiv7gv5BaaJc JADSgUCwdi/PvsXOCDGwjqCSCJR6ZbHw4GibEzkE998TnvMlUTqLgCmkeziUPJlb4zeA dy+As5w2V3JBDp9ThkdJRbBNXLlBeUpfNxsNkBpjsj8GuRtk/ZI7dLu38pQIqKWQ5Cfq sZWia3jHfROvsM6oFjhw/JuOijgrr3ZvLGw6Q+3BhMQywRwdU+y86mesp25Xetg3GZP/ X0OA== 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:dkim-signature; bh=NfgU8nhu9WRIdtIHTykP/1wn5C005fFiM5bW4oPYsgk=; b=AcCU6DGndO8y/2SL/QKngLx+9Ip51FGnNg/o15BvBMoK0M7jPk4SdPu8qxbnKK9j4i bDolorSwcdYnk8O8RTM4MAeflkQDo4b5G/KjaPy7MN456a4+DLTkdcF66ESaPf9qc4tc pX/ksY35OACj4237OxcQyFguPmbSjFC1NoEmQBC9Ey4t/HqwOpxgXV6Ih4UV30AZJYlX miOyTp/3PlP3pKiPt1qOHTlsTmFi72ep+SU/cWo4v4SdKAoCc/EJPHCcnhg2MJYLHexd xE0Su4xbvGeNA/cc849QKWafrOzU1Klk3A53eDKAKMlplng3PvHWLerzQUEHUqjpygti 4l9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l3qd+Bqq; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s27si22726597edm.226.2019.09.16.09.57.12; Mon, 16 Sep 2019 09:57:36 -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=@kernel.org header.s=default header.b=l3qd+Bqq; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732220AbfIPJwl (ORCPT + 99 others); Mon, 16 Sep 2019 05:52:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:38454 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726857AbfIPJwk (ORCPT ); Mon, 16 Sep 2019 05:52:40 -0400 Received: from rapoport-lnx (nesher1.haifa.il.ibm.com [195.110.40.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BD19206A4; Mon, 16 Sep 2019 09:52:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1568627559; bh=RQ1UznfCccadcIfxFSkY9LamIw+REVSgQCY2pa/S/Xs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l3qd+Bqq/q6bnDFerTgY0xQ4kcy2RDw6LXqOhsVwSAbwFdfco/FN1gQ4+c2arI5HP sGAiCDys7PY/Fa3T5vJy5JO+XqIrSNiib17bzNrSNZWBrs7t/IJt8zXYCrCpMqy5mN 0p9FY9Vl8GcZXx/y7eiKei9GHWqpCKT+Yj5kh+OI= Date: Mon, 16 Sep 2019 12:52:35 +0300 From: Mike Rapoport To: Thomas Bogendoerfer 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: <20190916095233.GB5196@rapoport-lnx> References: <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> <20190916090705.GA5119@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190916090705.GA5119@alpha.franken.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 16, 2019 at 11:07:05AM +0200, Thomas Bogendoerfer wrote: > 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. Can I add your co-developed+signed-off then? > 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 ] -- Sincerely yours, Mike.