Received: by 10.192.165.148 with SMTP id m20csp263821imm; Fri, 4 May 2018 09:57:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpZuOe+FN+LhePWIeIWjMWU2EPvNOaE9gNb59gXaizr9DjEXR+Rl2pcQpKP7HcGsfM7Glb5 X-Received: by 2002:a63:7981:: with SMTP id u123-v6mr22807383pgc.328.1525453027626; Fri, 04 May 2018 09:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525453027; cv=none; d=google.com; s=arc-20160816; b=i0z46BzoRUOi7O8siGR3iOM1oFwFY/VL4fL9YrhM5XrnQALxAhtRxduc6sPwZlSiCM M8IuKt55Dl12y+sT4JbvTWcalfyBExDFz8z0zy0F3QV6s+S0re/P5u8/tAdOOanVL5Em U5udqArGEbq4jX0+7j2mx+8rSUq00BqeHXnz8WWCWtibHQ19eziVi4myzLAoiy6AxU4S 65uVbdgeVFQc18VKpySdMVa/6YQ4sGVqldV2UavLGwGUUKjCOw/7nY8KCoMml9BGMJCG sNYFXwnSO2Pc87qX0Qnx7yfd5VyUQNPgjURagK14mhhQN6raFo3otjNQeU28qNDiP6NO K/tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=gLLPQgGcXvPCogzsye/y9M75G2qGmSZweFIhUmGcACE=; b=BORTVhIU2DqiUGq0nKpBfKnS35bsJ0q1woUhtW1QIs3SGTgfSzJe8si2aDTnyt0Xqz dbano8ZQ4pvqAqjPV3icBb6vbgugOS43p+pa0+JEgZjOlNXyoNKZ8NUwxGeW7uhNIBze a2PbINv3lOQ2ZV2f+LqH/2FYIx4BDZFcEX/Jc5DjaZLxundysb68yoQbEzk9IL5hkNBS MdviocFu4CO9lyuiK/gtLkHOiSYF68jnloJr4HzBVnVFWLUjkqVsLmJIDZfKca4Udo/n Lvi3o4L4dUWnNRlg/GUQD8h3O6ViJaBoakKE7jePaIid+nI0564lCvsgPh7KfzjJ187X etYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=ogWhQD8O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8-v6si13635965pgf.293.2018.05.04.09.56.52; Fri, 04 May 2018 09:57:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=ogWhQD8O; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751751AbeEDQzL (ORCPT + 99 others); Fri, 4 May 2018 12:55:11 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:51702 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751492AbeEDQzK (ORCPT ); Fri, 4 May 2018 12:55:10 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w44Gk46X093145; Fri, 4 May 2018 16:53:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=gLLPQgGcXvPCogzsye/y9M75G2qGmSZweFIhUmGcACE=; b=ogWhQD8ORevQ8aEPC13IJHN9IzKLxxOAxO65o4DPZS9By4rnOcqAaVGfN9cRxhh3+xSs GNB9F5hTeo3pneuYcs8Ro8VP6m8knviFgfRBlJnTPFUqZNxakD5unqUoy8ps/9kJErjU zCGEwB/Zn541ifu+LrfscsbTHckXuLdzmerCHGeWI3RJ096dAej3wiPiRHpRrhAOIBsD 6xyIqwjZYqRMzrpXzK4XofW3zRetn+MhElFMGoKZH1W34jthQkfEmDOWUQttveq9bG+5 LfdEC3Jh/N7822QdKt0UKdVdL2HHUilMq2cH3vktQLPbB/KL67YGydBPC7RZYfvBgquc ng== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2hmeg67919-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 04 May 2018 16:53:51 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w44Grnwo008411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 4 May 2018 16:53:49 GMT Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w44Gri8B016059; Fri, 4 May 2018 16:53:45 GMT Received: from [192.168.1.10] (/73.69.118.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 04 May 2018 09:53:44 -0700 Subject: Re: [PATCH v8 0/6] optimize memblock_next_valid_pfn and early_pfn_valid on arm and arm64 To: Daniel Vacek , Jia He Cc: Russell King , Catalin Marinas , Will Deacon , Mark Rutland , Ard Biesheuvel , Andrew Morton , Michal Hocko , Wei Yang , Kees Cook , Laura Abbott , Vladimir Murzin , Philip Derrin , AKASHI Takahiro , James Morse , Steve Capper , Gioh Kim , Vlastimil Babka , Mel Gorman , Johannes Weiner , Kemi Wang , Petr Tesarik , YASUAKI ISHIMATSU , Andrey Ryabinin , Nikolay Borisov , Daniel Jordan , Eugeniu Rosca , linux-arm-kernel , open list , Linux-MM References: <1523431317-30612-1-git-send-email-hejianet@gmail.com> <05b0fcf2-7670-101e-d4ab-1f656ff6b02f@gmail.com> From: Pavel Tatashin Message-ID: <23b14717-0f4a-10f2-5118-7cb8445fbdab@oracle.com> Date: Fri, 4 May 2018 12:53:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8883 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805040154 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > I'm wondering, ain't simple enabling of config > DEFERRED_STRUCT_PAGE_INIT provide even better speed-up? If that is the > case then it seems like this series is not needed at all, right? > I am not sure why is this config optional. It looks like it could be > enabled by default or even unconditionally considering that with > commit c9e97a1997fb ("mm: initialize pages on demand during boot") the > deferred code is statically disabled after all the pages are > initialized. Hi Daniel, Currently, deferred struct pages are initialized in parallel only on NUMA machines. I would like to make a change to use all the available CPUs even on a single socket systems, but that is not there yet. So, I believe Jia's performance improvements are still relevant. Thank you, Pavel