Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6372332rwl; Wed, 22 Mar 2023 09:44:19 -0700 (PDT) X-Google-Smtp-Source: AK7set+hQEofFGHAlJzahuhbdle3vxL5c2kDcemQU28T1bJxMPFpNyaEsxIjUkK/5MWLPc+tryCu X-Received: by 2002:a05:6a20:4923:b0:db:bcb9:6d86 with SMTP id ft35-20020a056a20492300b000dbbcb96d86mr209968pzb.18.1679503459479; Wed, 22 Mar 2023 09:44:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679503459; cv=none; d=google.com; s=arc-20160816; b=nRd/Z9XYlzSw5luwftkq7b7/RvSHyAyR6uO+HZOw6POzm9VeUp7WUrB4cOf7PKNI62 0WsVA+EylKNgPslFxJcltRyAlcq0xMnxyW7+FaBwsmvzJ3X2J9fmT5IPOAY719WWn7Uq 9HSYaXoGzI1hPz0IFA2tMn9n+zYsG/HBuFLuybomwoGbR/SmCAQWST98uD3c+ET++FD9 yE/pYw4Wf4bjp/j1QJNwTfwYDdulHcsVCAAW6NXNIXWhxIpZpN/RZgFq6wASN7n7SOPl xcVwvPVsH65bMkgEi5jQ9xqMf5B4vk6SiKBPrAOJBG8yxMYmJp9QYd+d6gYvd3/eSbnB dqTw== 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=lzRtWfO98aN/I5yW3oV909C/0ggxwd92Dn7c+PgEbi0=; b=Oszh5zkJdvYJfkj+XWlPfAfTrRRPnNXMxgwTwjC5dS5VnN4ynUM4uo1Eu5BfY1eJoe XUFDmRaZ+pZWO0XL8atCY8rFki/ELLRWyA+zALHNr4boyZ2OnKqrf4US5Nx25gLbXvS8 dmhKb7tcyCA4NnVY5zeLG6Pxn4IoZeBXW3BGEAdFrta+3tlGES3QS2OGO3iPiCRL9y2e t6sWrw9i4t7qcBrFaN8D7WdeMJNHR42ZUuFVTvqcVPkJwAmMT4NvHbTcVGo0g9R7YSKW pkv0UhKiLiTdNlKdqNHIzbjGEHlP9cDmPpxCKtrohDQ5n9Qg6KNvzAdzijQ/YIN1m3gu tFBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=2EtB+XEh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=ljzoIeO3; 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 f62-20020a62db41000000b00591f06fa9d9si16134579pfg.277.2023.03.22.09.44.07; Wed, 22 Mar 2023 09:44:19 -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=2EtB+XEh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=ljzoIeO3; 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 S229768AbjCVQcr (ORCPT + 99 others); Wed, 22 Mar 2023 12:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230401AbjCVQc3 (ORCPT ); Wed, 22 Mar 2023 12:32:29 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17B511985; Wed, 22 Mar 2023 09:32:20 -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 CA31833CFB; Wed, 22 Mar 2023 16:32:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679502738; 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=lzRtWfO98aN/I5yW3oV909C/0ggxwd92Dn7c+PgEbi0=; b=2EtB+XEhGU/8zeOEOm3WqO0VfUjNBhGJwbQ3NaHcMvuXzyPVjLi909/kjGe+TsRY9aZoM6 MlHblOVOhZNPTbugaHN+24gfubyvZE5DuHqM4FGzlvTBDvKjNMS6rc5GIK0f788KbnXGeh wFmcmDDeUN3EVzX1slpSmmrtJ/8Z0tU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679502738; 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=lzRtWfO98aN/I5yW3oV909C/0ggxwd92Dn7c+PgEbi0=; b=ljzoIeO3FBDowiD1B+TfOmaFF2bYXXpEW5OrttIPXA1GAl+d9ZFzoVkCiY8Y9BwiwYmFj5 CQj64YAn0LdNpGAw== 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 A1C8613416; Wed, 22 Mar 2023 16:32:18 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Vr6cJpItG2ROcgAAMHmgww (envelope-from ); Wed, 22 Mar 2023 16:32:18 +0000 Message-ID: <17540e5a-3063-c143-762c-ae6f6532f402@suse.cz> Date: Wed, 22 Mar 2023 17:32:18 +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 11/14] mm: move mem_init_print_info() to 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-12-rppt@kernel.org> From: Vlastimil Babka In-Reply-To: <20230321170513.2401534-12-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)" > > mem_init_print_info() is only called from mm_core_init(). > > Move it close to the caller and make it static. > > Signed-off-by: Mike Rapoport (IBM) > Acked-by: David Hildenbrand Reviewed-by: Vlastimil Babka