Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp645688rwl; Thu, 23 Mar 2023 23:16:01 -0700 (PDT) X-Google-Smtp-Source: AKy350bk/j2snaU+zetplskPy8srggDjs13D2cmZA1nYOWT9CDYcr+CXLR+cEJs72Aj0ZoY4eWQZ X-Received: by 2002:a17:906:2813:b0:93d:be9d:1432 with SMTP id r19-20020a170906281300b0093dbe9d1432mr1402748ejc.69.1679638561454; Thu, 23 Mar 2023 23:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679638561; cv=none; d=google.com; s=arc-20160816; b=HhOEpgbVwMre1S1Oanr/rPTviFNS8LKDW89czJKvEv/gB9u9h9o4FNlizWQDRINZkD jcYfs8Y4FBLj9rIJzkEZ+RNm2RlRieZ2qcq2/teiogL+xPqNrJGwDxocKO8P37cSLGo4 tJNt/FI1yIGKWljchcY7jB1oA6qZozPxZGceRH8Vx8Bzk9PS3UWmGhYxuaii6k7EvdJK QYHSLLMEJNcMG4qKM7Ao9CHOw44BGr+EK5yOdnMCfQvtSugc0GdSFv9sj2VprmS9pAv5 7Qzbc974iFkIs4gHjK9EF2iWi9VHfvAKUDVb8cyu1zXmWX8jNV1KwBdj3U//LlwU82U1 mFPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=Gj8TWPEbGQLn4BEAf2vxOqqcf1RBeHR6qSF2Tlcga3M=; b=DlG10bhj7MbyzejQ9m/But6+XnrKtkEioSkBgGWCQEN0Rr3AAUG4TdAAUt9Sd3S17C AkdlwvQBNwZiI0snA9fzV2nB65Q1hHHv1561qLgagLxAfC+Xubmb8TOwNYnya0KTCS+G zTWxgV6dztRl0SBe8Y2NOMsoHBigtN7zrt/4C4lsRNj2i+mnDlvpfhMaGWHwrWVeeTgA GUEMFm9n0nIVpdMqmbBj3uJEPr+xalfQp03St+ImvAY/hNtJoNP2NOF6hCaVymaF3kD0 JdjVOWWPkWfQ+JJ6xT48LeuT05FooT8XaPfUzwvOgbyWoQG0fsVr0KrrT6CQYuyT+KUJ chuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=jDWz4F22; 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=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot6-20020a170906ccc600b00939c375fa76si6104109ejb.279.2023.03.23.23.15.36; Thu, 23 Mar 2023 23:16:01 -0700 (PDT) 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=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=jDWz4F22; 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=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231329AbjCXGMt (ORCPT + 99 others); Fri, 24 Mar 2023 02:12:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbjCXGMs (ORCPT ); Fri, 24 Mar 2023 02:12:48 -0400 X-Greylist: delayed 917 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 23 Mar 2023 23:12:45 PDT Received: from m1360.mail.163.com (m1360.mail.163.com [220.181.13.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7AAD15147 for ; Thu, 23 Mar 2023 23:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=YwRZQgLssuEVHqSJNlLh2ATcMxHte0Lp0qjfaDXiK1E=; b=j DWz4F229Onu5Cj/FKIp+meNAuYAKoxym9DFXwhIz4FmmnXa1r4iLKbyo8QadGTgj 7DBUnXqkX3GnwrMKZg/KtHwuBbBXk+NN67yk1U5keWVqaNDoEwk8SYg+Bs3RD4vw TPXf2miF+zBicFKl9WrczpScqklVf/cSdGBC8Ndrzg= Received: from jhb_ee$163.com ( [113.105.127.219] ) by ajax-webmail-wmsvr60 (Coremail) ; Fri, 24 Mar 2023 13:56:42 +0800 (CST) X-Originating-IP: [113.105.127.219] Date: Fri, 24 Mar 2023 13:56:42 +0800 (CST) From: =?GBK?B?tefX0w==?= To: rppt@kernel.org Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re:[PATCH] memblock: Correct calculation method for overflowing range @size X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2023 www.mailtech.cn 163com In-Reply-To: <20230324052351.31106-1-jhb_ee@163.com> References: <20230324052351.31106-1-jhb_ee@163.com> X-NTES-SC: AL_QuycC/qYuEwr5CWdZukXn0oUhOs2XMq5s/4k2INTP5k0vCr89zAMXWFAEEv56vOXEB+grgabewlP2NVBdqd9Y50bWySHdvXd5MQ8MjCx36CC Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <2032a48e.3206.1871230d3bb.Coremail.jhb_ee@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: PMGowAB3mDSaOx1k3eIAAA--.9128W X-CM-SenderInfo: 5mkesvrh6rljoofrz/1tbiRRM8fGDuzJsGygABsC X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 ClNvcnJ5LCB0aGUgc2l6ZSBoZXJlIG1heSBiZSBjYWxjdWxhdGVkIGFjY29yZGluZyB0byB0aGlz IGZvcm11bGEsIGNhbmNlbCB0aGlzIHBhdGNoCgoKCgpBdCAyMDIzLTAzLTI0IDEzOjIzOjUxLCAi SG9uZ2JpbiBKaSIgPGpoYl9lZUAxNjMuY29tPiB3cm90ZToKPldoZW4gbWVtYmxvY2sgdXNlcnMg dG8gc3BlY2lmeSByYW5nZSB3aGVyZSBAYmFzZSArIEBzaXplIG92ZXJmbG93cwo+YW5kIGF1dG9t YXRpY2FsbHkgY2FwIGl0IGF0IG1heGltdW0sIFRoZSBuZXcgc2l6ZSBzaG91bGQgYmUKPlBIWVNf QUREUl9NQVggLSBAYmFzZSArIDEuCj4KPkFzc3VtaW5nIHRoYXQgYmFzZSBpcyAwLCBQSFlTX0FE RFJfTUFYIGlzIDB4ZmYsIHdoaWNoIGlzIDI1NSBpbiBkZWNpbWFsLAo+dGhlbiBAc2l6ZSBzaG91 bGQgYmUgMjU2IGluc3RlYWQgb2YgMjU1Cj4KPlNpZ25lZC1vZmYtYnk6IEhvbmdiaW4gSmkgPGpo Yl9lZUAxNjMuY29tPgo+LS0tCj4gbW0vbWVtYmxvY2suYyB8IDIgKy0KPiAxIGZpbGUgY2hhbmdl ZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKPgo+ZGlmZiAtLWdpdCBhL21tL21lbWJs b2NrLmMgYi9tbS9tZW1ibG9jay5jCj5pbmRleCAyNWZkMDYyNmE5ZTcuLmYxNjgzZDFkYWU2NSAx MDA2ND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