Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6187144rwl; Wed, 22 Mar 2023 07:34:50 -0700 (PDT) X-Google-Smtp-Source: AK7set9ga7b4zIW6z25N+YkgjMelrbaQr83zVsJfs81QYOU+fz4L8qWrnQFzVjqahe/DKF3uw9bo X-Received: by 2002:a17:906:f741:b0:92f:efdc:610e with SMTP id jp1-20020a170906f74100b0092fefdc610emr6783655ejb.66.1679495689820; Wed, 22 Mar 2023 07:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679495689; cv=none; d=google.com; s=arc-20160816; b=Sy1/nInC/NkUBT9g4cY8KBmE12tfNfGl0CkFIIuQj4xATkzwq/coo1IAfx0FK2Lbdx j/DuVjev/CeMe/aamwC4x5izY0Jkvq3qtiFbDrvRRMcgtPtzfN4t7OAWralpr/PFeM2K cvBs8r3SJ6TwbO8aHoQdnxZOP4d0eZJMIIUu9EiN66AAmavV+nxbNWFY5u2i0sqmAm6N L95/eyFh7fdt5getiKAqdYCHI4lq2+h2n6U5KZwFC7ZhWTw8xiPECLenEQKHGXx0Z2Hr xtZjG8fsmfL7ucWlhnPMGKap/wYmZ2vnia3w1m6m5I9nC72lW9190LbAXW/WMasfebtx Wd8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=/1T5hw9qpuG2AOImWSDWD8F5+eu1OUARaI87Jeroo5M=; b=CrMQapmGUq5i8kCWtEVl1WZlA19hKkqQLRbF+ldoDqRIrQpMJKBELWuZcezDinsCmd VMGZpsJJA66ly3+u1bTpgV8FQjt+Pf5skySC3VN/nQVcs/Ay4O5pZr2oyI8xWtlS5Mez Yqhwoy05t/5ak7eCIGCYN3EfsJ8q62JgNUAqWU8hJs6tU4mH6eXoQfcuCfjg52B5a5U8 SYjIowTW4X1wWlo9gVFeXcb5ey+md2nuYODa54f+06CCosbpuDJLifVgypH5j1Ng2XAl hpjogmz40o+PGkIt8QnDQTw+mwxKIZ/AmzxKlly6wHj60WIoffQqtSCgSM7ltf6rcLQE /BCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x4MgX53m; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw20-20020a170906479400b009329a33cbf2si16757133ejc.70.2023.03.22.07.34.25; Wed, 22 Mar 2023 07:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=x4MgX53m; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231312AbjCVO0G (ORCPT + 99 others); Wed, 22 Mar 2023 10:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjCVO0E (ORCPT ); Wed, 22 Mar 2023 10:26:04 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4EE5273E; Wed, 22 Mar 2023 07:26:03 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 32CEE33BD9; Wed, 22 Mar 2023 14:26:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679495162; h=from:from:reply-to: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=/1T5hw9qpuG2AOImWSDWD8F5+eu1OUARaI87Jeroo5M=; b=x4MgX53mVKT0FLfchSPpT80TU/Nx9lsedKAL+STO/UH6xpGUjBxZixJ+f3grGw+I142wgD sL5t05agVfFyNEpM/Mt+aN1jCJFp9Ri9a23FRIl3fyv7MttKXbeGci9gcfEGKVrY3dAUa6 kDH38przr24unL5Qu7DKBBpg27HqzY8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679495162; h=from:from:reply-to: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=/1T5hw9qpuG2AOImWSDWD8F5+eu1OUARaI87Jeroo5M=; b=BJyaCwp7Vc7NTXtN/Ep4eXUEG0u5BFdokqGUPXP6RKChTIaBTw3ZZExPQawzBLDA86LAoA eNaf/L+Q0p+fRXBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 08B8813416; Wed, 22 Mar 2023 14:26:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id EdCTAfoPG2R6JQAAMHmgww (envelope-from ); Wed, 22 Mar 2023 14:26:02 +0000 Message-ID: Date: Wed, 22 Mar 2023 15:26:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 03/14] mm: move most of core MM initialization to mm/mm_init.c Content-Language: en-US To: Mike Rapoport , Andrew Morton Cc: David Hildenbrand , Doug Berger , Matthew Wilcox , Mel Gorman , Michal Hocko , Thomas Bogendoerfer , linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org References: <20230321170513.2401534-1-rppt@kernel.org> <20230321170513.2401534-4-rppt@kernel.org> From: Vlastimil Babka In-Reply-To: <20230321170513.2401534-4-rppt@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/21/23 18:05, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The bulk of memory management initialization code is spread all over > mm/page_alloc.c and makes navigating through page allocator > functionality difficult. > > Move most of the functions marked __init and __meminit to mm/mm_init.c > to make it better localized and allow some more spare room before > mm/page_alloc.c reaches 10k lines. > > No functional changes. > > Signed-off-by: Mike Rapoport (IBM) > Acked-by: David Hildenbrand Acked-by: Vlastimil Babka