From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3B28C433E0 for ; Thu, 11 Mar 2021 16:38:36 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4EC3964F9C for ; Thu, 11 Mar 2021 16:38:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4EC3964F9C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 9E04D8D02CC; Thu, 11 Mar 2021 11:38:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9B79B8D02B2; Thu, 11 Mar 2021 11:38:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 844338D02CC; Thu, 11 Mar 2021 11:38:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0068.hostedemail.com [216.40.44.68]) by kanga.kvack.org (Postfix) with ESMTP id 6948D8D02B2 for ; Thu, 11 Mar 2021 11:38:35 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 269FD12C8 for ; Thu, 11 Mar 2021 16:38:35 +0000 (UTC) X-FDA: 77908151790.11.155BEA1 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf02.hostedemail.com (Postfix) with ESMTP id 4B2F04080F6E for ; Thu, 11 Mar 2021 16:38:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615480711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fci0/BzKEQh4UUxidlo0WYyjv3Nja7ctTNoMztoj/DA=; b=Xk41aVibZXdTthy0rMbklH9ThtC92DMueWCf2yuz6IPE7tXQt+4JG6txRArRqnqBhpFvYQ 4K9slOUloSCCAk1qq/9EmwosPQ6sZFNe87gaR/J/H0fzAuorvI0H8yJVLFLrqWH4fO2wFq eb2rG/aMBL3nA0xx0FDUixJLAyberbw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-245-Q1UE_uVTP2-2CrzB_g3K5g-1; Thu, 11 Mar 2021 11:38:27 -0500 X-MC-Unique: Q1UE_uVTP2-2CrzB_g3K5g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DBDFB100C61B; Thu, 11 Mar 2021 16:38:24 +0000 (UTC) Received: from [10.36.115.26] (ovpn-115-26.ams2.redhat.com [10.36.115.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 71F3210013D6; Thu, 11 Mar 2021 16:38:22 +0000 (UTC) Subject: Re: [PATCH v5 3/4] x86/vmemmap: Handle unpopulated sub-pmd ranges To: Oscar Salvador Cc: Andrew Morton , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <20210309174113.5597-1-osalvador@suse.de> <20210309174113.5597-4-osalvador@suse.de> <3471fe0e-d8f4-c8fe-2096-8d9c8b1ab5bc@redhat.com> <20210310174953.GA16289@linux> <1814c21c-b822-0ec6-c16d-92424d00663a@redhat.com> From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <8191d221-d307-83b1-165f-2fbb5f7149da@redhat.com> Date: Thu, 11 Mar 2021 17:38:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Stat-Signature: 9m1rjnsr3bipd4bmhnfzg6n7ro8fwxm1 X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 4B2F04080F6E Received-SPF: none (redhat.com>: No applicable sender policy available) receiver=imf02; identity=mailfrom; envelope-from=""; helo=us-smtp-delivery-124.mimecast.com; client-ip=216.205.24.124 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1615480703-339174 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 10.03.21 22:58, Oscar Salvador wrote: > On Wed, Mar 10, 2021 at 06:58:26PM +0100, David Hildenbrand wrote: >> Thinking again, I guess it might be a good idea to factor out the core >> functions into common code. For the optimization part, it might make sense >> too pass some "state" structure that contains e.g., "unused_pmd_start". > > Yeah, that really sounds like a good thing to do. > >> >> Then we don't have diverging implementations of essentially the same thing. >> >> Of course, we can do that on top of this series - unifying both >> implementations. > > I would rather do it on top of this series, not because I am lazy, but > rather fairly busy and I will not be able to spend much time on it > anytime soon. > > Once this series gets merged, I commit to have a look into that. > Sure, makes sense - thanks! -- Thanks, David / dhildenb