From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754392AbeDBIPa (ORCPT ); Mon, 2 Apr 2018 04:15:30 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:44367 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869AbeDBIP2 (ORCPT ); Mon, 2 Apr 2018 04:15:28 -0400 X-Google-Smtp-Source: AIpwx4+0IyanFAqo56+Mcr0yzUDPRdNUpNzmpuhVrOdkAoeCLWP/wHPB/D+70ovglTke2asmljWD2g== Subject: Re: [PATCH v5 5/5] mm: page_alloc: reduce unnecessary binary search in early_pfn_valid() To: Ard Biesheuvel Cc: Russell King , Catalin Marinas , Will Deacon , Mark Rutland , Andrew Morton , Michal Hocko , Wei Yang , Kees Cook , Laura Abbott , Vladimir Murzin , Philip Derrin , AKASHI Takahiro , James Morse , Steve Capper , Pavel Tatashin , Gioh Kim , Vlastimil Babka , Mel Gorman , Johannes Weiner , Kemi Wang , Petr Tesarik , YASUAKI ISHIMATSU , Andrey Ryabinin , Nikolay Borisov , Daniel Jordan , Daniel Vacek , Eugeniu Rosca , linux-arm-kernel , Linux Kernel Mailing List , Linux-MM , Jia He References: <1522636236-12625-1-git-send-email-hejianet@gmail.com> <1522636236-12625-6-git-send-email-hejianet@gmail.com> From: Jia He Message-ID: <75088758-f59c-c65a-6e88-116c1e6b6675@gmail.com> Date: Mon, 2 Apr 2018 16:15:09 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/2/2018 3:00 PM, Ard Biesheuvel Wrote: > How much does it improve the performance? And in which cases? > > I guess it improves boot time on systems with physical address spaces > that are sparsely populated with DRAM, but you really have to quantify > this if you want other people to care. Yes, I write the performance in patch 0/5. I will write it in the patch description later. -- Cheers, Jia