Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp381748rwb; Wed, 9 Nov 2022 03:55:33 -0800 (PST) X-Google-Smtp-Source: AMsMyM6r+tUdCOjB4OAFCvIud2OPxgRKAbz+LRGna4O/8jki28KcyyexxMzd4TdisBmZsU/76aIS X-Received: by 2002:a17:902:d4cc:b0:186:f57d:ba61 with SMTP id o12-20020a170902d4cc00b00186f57dba61mr60363095plg.97.1667994933424; Wed, 09 Nov 2022 03:55:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667994933; cv=none; d=google.com; s=arc-20160816; b=cvOMQwX9J5xyCly1H5kUt7kHw/Pm+9WSUDq+BiMu2ymSoxy9Zb9+7ohItBWGRHUn8h 1fUD4ge+K7e9TqiVlwavYWpxq7cogOn9QfFKtfWOo4kx/zsQrvC6oiHotM9Zbk4gfvwa zTHmWG62CEDn409ahly3rupE4RS8K2r5S0ixPB8NBedgU8qhmHvwCsbbmlZWhPAuhSCW 1s7C6RNjb46V/OwpXL54s4ijt/Tpxdzaw6gLYiT/Q7Aiks0d2Ibf/b3IvapQuWnYy0WB sEmA6IYwOZbGKEWl9viU6bjJbb3LG1a+lpGTMN/SNtGykiAxXpkhbelWPuOmNwBThblZ 4YrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:cc:to:subject:message-id :from:content-transfer-encoding:date:dkim-signature:mime-version; bh=lW0LJebmesD/58H5kukJ16h9hALOR1xtn+1+pkrJwxU=; b=JtVr/b86S+KCwMc0falL6pvOI8flytMt++aW9E8E/xSn7LKHTqsQZmh1JKc8Hgux83 2W5jE4NYEFBqTx+og+mk+XQ5ZvXMIvg7Ism7zAXd7YKxrXgYwbx5+S/hDld93rxDlXgk RzDcgL628So9qE9jxfsBn4yvqpd5qiEO1gX3LEQGF4biVgp29Nn0WTWbjiWkHoUUFPnQ R0V4PDIjKZcLHDLWAf8Ok7ADkRVkAo21EVkvZ4bwzQGBTjQbIVOv4dHhZkCw924jYUdu ETDKm/JjLVzFtUPipC6vrK+IV0H/R6Vmsi/ga1VccKHv+YHjEVGYNpEG53hnfhybnc6G uoAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lvOnCMWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y33-20020a056a00182100b0056d7aaaf1f1si17587720pfa.123.2022.11.09.03.55.22; Wed, 09 Nov 2022 03:55:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lvOnCMWJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbiKILtD (ORCPT + 94 others); 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 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.