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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0ADB8C6FD1D for ; Mon, 20 Mar 2023 11:00:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjCTLAi (ORCPT ); Mon, 20 Mar 2023 07:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbjCTLAQ (ORCPT ); Mon, 20 Mar 2023 07:00:16 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9393B28233 for ; Mon, 20 Mar 2023 03:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679309640; 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=ZO4MUoeLtjuclC4IgasEW8PXFINyJxVwxeCYDhy+TRc=; b=Ut7DUSAHsV7EmE4YT9Xp4ciponyH78UqOZoQlwfl6+BzfmY7Mtg4ZrnPNgNnfZAzBGi5/6 XmmdusyOs86Kd6TPkrX+TzPD2qR/ecbNjcNqIlv9PKH24NYCSjFiiwbmV/Evmf9iyoGyHv Pk2rmLI+aYZ0q8tBH5qRYKzyipjLqbg= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-35--WlRRtPHMh-iErat86FA1Q-1; Mon, 20 Mar 2023 06:39:56 -0400 X-MC-Unique: -WlRRtPHMh-iErat86FA1Q-1 Received: by mail-wm1-f69.google.com with SMTP id r35-20020a05600c322300b003edce6ff3b4so1326160wmp.4 for ; Mon, 20 Mar 2023 03:39:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679308795; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZO4MUoeLtjuclC4IgasEW8PXFINyJxVwxeCYDhy+TRc=; b=3Za5HrQ1UiWvxJap5khc1ckqkE+t4GwLgIMuODNa5XeSph5Up9kCOLtQ4cmX2lqjGI EFSMLbMfCInohwDjApcFesLzPWMgGDug++aoYt7G6Vh0NPUPoHKaP4O0DVOA2GciZUKV 9I5kFotFtn1hdi7bAKj2cAQyodkKO3rRh6ZzdXy6ngyR8mrcHkQL95eBNZtNFYhAZMWe IUBWK4Ds9qsx5WD2g9PYayle/ELFlpP8UZlf9+DKNnAc83EmY9/Wl1W2mVaieGKmjLLR 3SUoSQUSKKN7hQ/+GKS3qyQ86dQTkODpdvlLTKIfBnZqv5Soix3atTkE0loJdl3mN8yu x+qA== X-Gm-Message-State: AO0yUKU0+AuIm9eYCZtXx6Wu7Dj37LotgsQRndwbSJ2dEtO9hKbOaJka 89KboBSeLa1OzCYQVDuVRJUzcEhCvKXhTfemEQ5mJ2UQXE3Z/ldkkkxbf0vclAv5Xne/8/pYaQc ocL1untKNUoQnlneA2/VpAA== X-Received: by 2002:adf:dc51:0:b0:2cf:ea5d:f607 with SMTP id m17-20020adfdc51000000b002cfea5df607mr13275620wrj.17.1679308795754; Mon, 20 Mar 2023 03:39:55 -0700 (PDT) X-Google-Smtp-Source: AK7set+aFiFmynk07qyywt6B8QhkodUnWOCgklLUU0oFHRWH7B4MoXZR6V1fEuEUm9GaNTsT0EPSnA== X-Received: by 2002:adf:dc51:0:b0:2cf:ea5d:f607 with SMTP id m17-20020adfdc51000000b002cfea5df607mr13275609wrj.17.1679308795562; Mon, 20 Mar 2023 03:39:55 -0700 (PDT) Received: from ?IPV6:2003:cb:c702:4100:a064:1ded:25ec:cf2f? (p200300cbc7024100a0641ded25eccf2f.dip0.t-ipconnect.de. [2003:cb:c702:4100:a064:1ded:25ec:cf2f]) by smtp.gmail.com with ESMTPSA id bl13-20020adfe24d000000b002d84f0266b0sm189659wrb.18.2023.03.20.03.39.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Mar 2023 03:39:55 -0700 (PDT) Message-ID: <685de938-79e2-1120-daba-74bc541a1766@redhat.com> Date: Mon, 20 Mar 2023 11:39:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH 11/15] init,mm: fold late call to page_ext_init() to page_alloc_init_late() Content-Language: en-US To: Mike Rapoport , Andrew Morton Cc: Matthew Wilcox , Mel Gorman , Michal Hocko , Thomas Bogendoerfer , Vlastimil Babka , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org References: <20230319220008.2138576-1-rppt@kernel.org> <20230319220008.2138576-12-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230319220008.2138576-12-rppt@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On 19.03.23 23:00, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > When deferred initialization of struct pages is enabled, page_ext_init() > must be called after all the deferred initialization is done, but there > is no point to keep it a separate call from kernel_init_freeable() right > after page_alloc_init_late(). > > Fold the call to page_ext_init() into page_alloc_init_late() and > localize deferred_struct_pages variable. > > Signed-off-by: Mike Rapoport (IBM) Reviewed-by: David Hildenbrand -- Thanks, David / dhildenb