From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43B53C433FE for ; Wed, 9 Nov 2022 11:50:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A33C26B0072; Wed, 9 Nov 2022 06:50:08 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9E3A88E0001; Wed, 9 Nov 2022 06:50:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8D2C36B0074; Wed, 9 Nov 2022 06:50:08 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 7E3EA6B0072 for ; Wed, 9 Nov 2022 06:50:08 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 3721F40733 for ; Wed, 9 Nov 2022 11:50:08 +0000 (UTC) X-FDA: 80113735296.09.4F07A24 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by imf14.hostedemail.com (Postfix) with ESMTP id A6A88100003 for ; Wed, 9 Nov 2022 11:50:03 +0000 (UTC) MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1667994539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lW0LJebmesD/58H5kukJ16h9hALOR1xtn+1+pkrJwxU=; b=lvOnCMWJbgBbCgtGjQV3h71e9sEP5uht70CvH/oqAXjZTPOmYjLXhQo4eQcPCGllKLC0/q 6Koj8UQJ5LkeGE6mopltTVDph5Zn5+5dqbB3ISGyEqZxc/WC+fznEEADeC9573ZqhOFWFa E22PuorhYmbAtEN87YZDjm6NpuFe9Mw= Date: Wed, 09 Nov 2022 11:48:58 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Yajun Deng" Message-ID: Subject: Re: [6.1.0-rc3-next-20221104] Boot failure - kernel BUG at mm/memblock.c:519 To: "Mike Rapoport" Cc: "Sachin Sant" , "linuxppc-dev" , "open list" , linux-mm@kvack.org In-Reply-To: References: <74979021-D386-4402-BD70-167531C7405B@linux.ibm.com> <58779468e28e026a1aa30a42ca7e8aec@linux.dev> <4fee7f2b0e99e256465ef6e7656c6349@linux.dev> <6e32f14ae25909138e40b2cfd7448ed8@linux.dev> X-Migadu-Flow: FLOW_OUT ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1667994606; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=lW0LJebmesD/58H5kukJ16h9hALOR1xtn+1+pkrJwxU=; b=d7slEDWXVkzZTbdEU2e2qkvWpwg+kJQ6b+eC/6yTTiPQL295ItegEJIVSZrvsXqgRPdWWf VR0BJh6Xcfm0N6CaeFRJaHVej7mIShTl51B9oNtrkLt5je7LO2MPy6LQcnCKygGjbYalyr 11Doh5qQDNvbt+/d14ENnu2nbLMHhHY= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=lvOnCMWJ; spf=pass (imf14.hostedemail.com: domain of yajun.deng@linux.dev designates 94.23.1.103 as permitted sender) smtp.mailfrom=yajun.deng@linux.dev; dmarc=pass (policy=none) header.from=linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1667994606; a=rsa-sha256; cv=none; b=PdJVGjGCNpPux9ZpLtyHQZ6+99uDMvIcr8ozS1YmOolEsowWmhUF5NbAs0bXAznlqewpOp V2DuokfO1DpKP6vAJdJjujjswuTdgabEDmEV9J0Vm+f/8h63cPB05dAnFIQdayQf3lTEeS 0C7dLfT9m1vvBnSzSlvJqZ6B2trgji4= X-Rspamd-Queue-Id: A6A88100003 X-Rspam-User: X-Rspamd-Server: rspam08 Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=lvOnCMWJ; spf=pass (imf14.hostedemail.com: domain of yajun.deng@linux.dev designates 94.23.1.103 as permitted sender) smtp.mailfrom=yajun.deng@linux.dev; dmarc=pass (policy=none) header.from=linux.dev X-Stat-Signature: 9xtaypuo3d8zwsjcqmbc5braeju6try8 X-HE-Tag: 1667994603-730337 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000066, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: November 9, 2022 7:42 PM, "Mike Rapoport" wrote:=0A= =0A> Hi Yajun,=0A> =0A> On Wed, Nov 09, 2022 at 11:32:27AM +0000, Yajun D= eng wrote:=0A> =0A>> November 9, 2022 6:55 PM, "Sachin Sant" wrote:=0A>> =0A>> On 09-Nov-2022, at 3:55 PM, Yajun Deng wrote:=0A>> =0A>> November 9, 2022 6:03 PM, "Yajun Den= g" wrote:=0A>> =0A>> Hey Mike,=0A>> =0A>> Sorry, t= his email should be sent to Sachin but not Mike.=0A>> Please forgive my c= onfusion. So:=0A>> =0A>> Hey Sachin,=0A>> Can you help me test the attach= ed file?=0A>> Please use this new patch instead of the one in memblock tr= ee.=0A>> =0A>> Thanks for the fix. With the updated patch kernel boots co= rrectly.=0A>> =0A>> Thanks for your test results.=0A>> =0A>> Hi Mike,=0A>= > Do you have any other suggestions for this patch? If not, I'll send a v= 3 patch.=0A> =0A> Unfortunately I don't think the new version has much va= lue as it does not=0A> really eliminate the second loop in case memory al= location is required.=0A> I'd say the improvement is not worth the churn.= =0A> =0AOK, I got it.=0A=0A>> Tested-by: Sachin Sant >=0A>> =0A>> - Sachin=0A> =0A> --=0A> Sincerely= yours,=0A> Mike.