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 22928C7618A for ; Mon, 20 Mar 2023 10:37:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229582AbjCTKhm (ORCPT ); Mon, 20 Mar 2023 06:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbjCTKhO (ORCPT ); Mon, 20 Mar 2023 06:37:14 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C58415CB1 for ; Mon, 20 Mar 2023 03:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679308547; 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=pe6rkmEk2ADSmdXI3iCMoR7JpcLeyJRJ5+kiT86CYAg=; b=FxXS6Qdj7GxxtsfCmiYuM00WFmo52XGrE4AJW6hya3+G2t8VrQCCai+jYqJV3QaLaVKUm/ O6L52XwqkYAnfVVEmfZVy/l199UTntkvaD7eJoAYRxsinTf2iYujoSQdyM6wpXoSYIZY2G f7g0SPqsbg8Qn4J57E1+V00p3nIExQ0= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-508-q-C3vLDYMSawu1Py73LpKA-1; Mon, 20 Mar 2023 06:35:38 -0400 X-MC-Unique: q-C3vLDYMSawu1Py73LpKA-1 Received: by mail-wm1-f70.google.com with SMTP id t1-20020a7bc3c1000000b003dfe223de49so8222886wmj.5 for ; Mon, 20 Mar 2023 03:35:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679308537; 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=pe6rkmEk2ADSmdXI3iCMoR7JpcLeyJRJ5+kiT86CYAg=; b=1azareYvemcX+OFj63Gz8EfCwRbK2mSvBfofm7GNJ7JiFfcc0FG7rCY3+PSNlSpfY3 XgUvJk1tmhzK72h37HZFv5Osgwge3RqZeVy/FETtJT9FMMXreZ/SsYEuTbvC2YUaK5ck iK2vn07TCAF8P/ZThnMEXPwt5xrvSPbcMD5XJnM33r78lFApTxNPWwxMAcK+5mDs185p T+95D0Y0m+L7onDdNy6t8tjgZeN3l6Acuy1G2gwAngmSp4e9gD6hjyP4nzRpvzs5BJDU vbDrbh54FufOfdUc4IjVB8wNA/aFPCedCBE55guNtXJmYqymRwLD0kCXlPQdT0vkeG7t Y5eA== X-Gm-Message-State: AO0yUKX37/YJZjoSunuNpPayskjPZIDVpQZzuIUffA8xuVGQo1m+txSx nlDpgAr3STF0taxluM9dDQnMVzYf5ASWdohiITTvAnnx2EWqElqRck3icYldtf7QwxM/a/1tpBq je++ykEKoHtriWoBp0eJ/suGW X-Received: by 2002:a7b:cb95:0:b0:3ed:a07b:c58f with SMTP id m21-20020a7bcb95000000b003eda07bc58fmr7056888wmi.28.1679308537190; Mon, 20 Mar 2023 03:35:37 -0700 (PDT) X-Google-Smtp-Source: AK7set/3TPR1DrWAdFp/goD2HID6TlG6sfz5sBEnIyBEIyWBMsfX8EYUU5WgNJIDfi6JKJYrz0M+ng== X-Received: by 2002:a7b:cb95:0:b0:3ed:a07b:c58f with SMTP id m21-20020a7bcb95000000b003eda07bc58fmr7056867wmi.28.1679308536883; Mon, 20 Mar 2023 03:35:36 -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 3-20020a05600c020300b003eddefd8792sm4044642wmi.14.2023.03.20.03.35.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Mar 2023 03:35:36 -0700 (PDT) Message-ID: Date: Mon, 20 Mar 2023 11:35:35 +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 07/15] init: fold build_all_zonelists() and page_alloc_init_cpuhp() to mm_init() 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-8-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230319220008.2138576-8-rppt@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19.03.23 23:00, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > Both build_all_zonelists() and page_alloc_init_cpuhp() must be called > after SMP setup is complete but before the page allocator is set up. > > Still, they both are a part of memory management initialization, so move > them to mm_init(). > > Signed-off-by: Mike Rapoport (IBM) Acked-by: David Hildenbrand -- Thanks, David / dhildenb