From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f199.google.com (mail-pf0-f199.google.com [209.85.192.199]) by kanga.kvack.org (Postfix) with ESMTP id 2BB5E6B0025 for ; Mon, 2 Apr 2018 04:15:29 -0400 (EDT) Received: by mail-pf0-f199.google.com with SMTP id p10so12162079pfl.22 for ; Mon, 02 Apr 2018 01:15:29 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id az2-v6sor6564778plb.24.2018.04.02.01.15.28 for (Google Transport Security); Mon, 02 Apr 2018 01:15:28 -0700 (PDT) Subject: Re: [PATCH v5 5/5] mm: page_alloc: reduce unnecessary binary search in early_pfn_valid() 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 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: 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 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