Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3214636ybt; Mon, 29 Jun 2020 19:07:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfdPuiFitVcOxq4bR/yx5UarU34rHFrUUgJoMD/1bCDD839E+D7cg6EhE4yFqe5/oPldMS X-Received: by 2002:aa7:d142:: with SMTP id r2mr13918217edo.211.1593482851740; Mon, 29 Jun 2020 19:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593482851; cv=none; d=google.com; s=arc-20160816; b=u+FP3RdQWkwXXuMKUQ9OoY6XHkEUIiDVCB2YxPdLMSwWEKwJWBCfeAXfnVs1BAUCpE wX2b+36jrpKg/TCdtRZOMqyOyVHhFzMVnwAE1wrE+ZsW27SphJp0v1emMIArQ5ALNZs8 b9FVWI0kEwrQEZwNraWaUsVHH+VVXFcDAZbYzmR8ZaCGTpoJZ7c/VUD/hlJzGbDeEKuy x7vkZuHdLiiSJflrU+CjHF7dW+wQIi11dAIHspD3UI2xmQPNJGOJo4uyii7dq+PA3M7D ShkQdgPpA9IUfPMlyVXRWFWNA5JbN16CFiVvxt3Tez7fUWl4yx2PcVjyC/8hVjUF5JVy Zk9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=tKQUz3ss+SkTXPIo7jFWCtq27AsIgeg6pLQv0LW7H5k=; b=EHZXbvguSXjhgxOQsINV8mlLipRFxBvahVUkPtz+HVh/XyyRulA4vfZoZZLo+kcRMm NNsIKMncZT2+Q5bU0fRMnXTkUmCaiFDFOOp+lSMio05b+2Ry/9cfVNeeKZ+X+2txrDNf 0ppmQ+SBISj3RYMIWtHMAbY/Azm0urdC6a2IVS9lm3T17uAVDlb7mdMV4gerKqvnj58N Emib5UkzODu7wjlvwCZ4ZMD/Em5+159brXOQGzU1udqiR6VR8IKCUkdHhKGIhLLZgPmv W31SCPHtiljwb/n9B9AwIEVB8XJqbVb9daocpY/g3NNtz/N/u5gOu4MbCoKJrBpY/d42 Ybhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=If10uPjK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s23si995726edi.7.2020.06.29.19.07.08; Mon, 29 Jun 2020 19:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=If10uPjK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726914AbgF3CG6 (ORCPT + 99 others); Mon, 29 Jun 2020 22:06:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbgF3CG6 (ORCPT ); Mon, 29 Jun 2020 22:06:58 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC70C061755 for ; Mon, 29 Jun 2020 19:06:58 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id b184so2306554pfa.6 for ; Mon, 29 Jun 2020 19:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=tKQUz3ss+SkTXPIo7jFWCtq27AsIgeg6pLQv0LW7H5k=; b=If10uPjK3MMTzI9xXwJGQ1cOGcfuYSR1WRyeBbR/PUH6HL167ChvfNuykRXPnAT0cq KZecDQ1zb2SO+BQwnIZgpK+3kmSVcMkSmTOaZgG0YVSu79JyyH9jSv+r5sG00UsqQhsA fSQY7wQNnXymqWXBV+/3TMQ/L/NpZDENPkhBKjsbPvd/3SvfjQA/6y/yf5Wi/uZZWnYR mctfTPL0BIozB/gQkBh3pjpFkrHO/lwm4+OdzAKBlnhHurdAMnk0gBPbClEp3ijxw8kM FFQMusVF1UPrVKLkzodKeSE7dYo8v/ZnmiB1XQryYgNgD5CeSwikDDfnJ2ju495mKxzw COxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=tKQUz3ss+SkTXPIo7jFWCtq27AsIgeg6pLQv0LW7H5k=; b=c1me/Nfa8jhlEoYOqFvcz6GYM3FtwrWsLsfq8G14O8nX+/Sl79ymCqg4NS80r0M12B DTvKaU+kwiYaZsbh1r1xpUSjW87l+gK1b2AZLITicPJ2td63EsZ4q1+NNO4LzOQNpLNA VttPZkLZLcxfAyAFIgHRQXDX+boBmC0uCvOMVF+7RMgR+ArZcMnosKhO+fJFUSIVYvzA Jb7Ka1+dN7d8F5XdblH8+RVbhMNzZoIyTHJgzUzhOvKZU+dHAFZ5RcrziX69OSbgWS+K 3dVpJbCbRFx3z4V9N+J8DsXJOlup87dGn9h2OCXa4k0NZXgiG0f2A6hGS8tM5VuixEdK UAHg== X-Gm-Message-State: AOAM533nxAiiSrVU4ba16H616dsRqMtABg6dcZ0SQMYMcpHIRtXe3ySn 6CB8RlKa6bXuSKpAY9lT+/LORw== X-Received: by 2002:a65:5a4d:: with SMTP id z13mr10194621pgs.336.1593482816918; Mon, 29 Jun 2020 19:06:56 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id a8sm818795pfi.29.2020.06.29.19.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 19:06:56 -0700 (PDT) Date: Mon, 29 Jun 2020 19:06:55 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: =?UTF-8?B?6IuP6L6J?= cc: Mike Rapoport , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re:Re: [PATCH] mm: remove the redundancy code In-Reply-To: <3f4b9136.1440.17302f60674.Coremail.sh_def@163.com> Message-ID: References: <20200629173047.GA38128@ubuntu> <20200629202429.GG1492837@kernel.org> <3f4b9136.1440.17302f60674.Coremail.sh_def@163.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1482994552-1160537174-1593482816=:1118534" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1482994552-1160537174-1593482816=:1118534 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 8BIT On Tue, 30 Jun 2020, ?ջ? wrote: > I am sorry that i did not consider the memory hotplug case, > and i think we should add a new param to distinguish two different cases. > No need, we can simply continue setting zone->zone_start_pfn unless there is a bug to be fixed (and, if so, please send a bug report). Removing it would not improve anything and would only increase risk. --1482994552-1160537174-1593482816=:1118534--