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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2C0AC433FE for ; Wed, 9 Nov 2022 11:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbiKILtD (ORCPT ); Wed, 9 Nov 2022 06:49:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiKILtC (ORCPT ); Wed, 9 Nov 2022 06:49:02 -0500 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C855218E03 for ; Wed, 9 Nov 2022 03:49:00 -0800 (PST) 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.