Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6371905rwl; Wed, 22 Mar 2023 09:43:55 -0700 (PDT) X-Google-Smtp-Source: AK7set8HkeOqvmRDPshse9pPlo7W3txpjvoooR8LCy1b+qhwfBPNt/Fjl22wfGIHdwQWBwoG+c7s X-Received: by 2002:a05:6a20:3ba5:b0:cb:c276:588d with SMTP id b37-20020a056a203ba500b000cbc276588dmr53301pzh.22.1679503434981; Wed, 22 Mar 2023 09:43:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679503434; cv=none; d=google.com; s=arc-20160816; b=X+MdkUCbXKgO3BROAgHJ5A0TGQeazcti6a/onme4NK3ov1rHjW9WBzOddz4oycqVww GF6bGYhAxWKjBIGr3obXmOkfMorAAAdzeFYRbqOIKXchkQN0cNHOTwBJmHZ9vuPY4L9y xCfJXg7IZZQJ2k9fj/lVn2uCQz+J35YhFdDMyJXxZVxv4EFMaCEhUbie++Gyp3k0HB16 zRn5Vmpae2bW/qtUrf2lWlDZhuBzSw+/vVQ25KCwYJSYXmwSTCnzq7Sb/eBkzw2O1DYF ZAB+yGRaAUjQK1cyjPRzzz+fvnbK45hlQqKgo6rBAoBdwb+HIO35Zd9rBFiIWVTmCe2J kxkg== 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=qTpAse4yQlLrVv62nJHsMqe/z8ePeYy539wki/3pRWU=; b=ISo++L4uWSr5aQRw0B+04yVpAM2djRQILeQlWG3Jmpgz4o9IRvyVaqCfPK6h22I1xr mxWfJYqA11HyJAf4kIgqSXKryvd+MIF8FpUQwJ1aKCUL8xFnsS4LpVJt54q/cIfPauVD uGYFP779Xul1m6cqKWidSt14VtSkAP6gLIvtmaG2VppyMd8jz5RYHJ5F7wzftz2VJupj DpVoIQP/nfuI579dFN96Yc/DdisbtRP8LJ60wz99H2rEOpKA5gGceleXTwhxEkQdfsZq TzKxfxvbB/AnuXzAiOw6KXxYsXJOR4o3jzc/bw6KfHqLZQd39AG1gbdIjUIK2D3gBEI9 Yf1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=2afMyfPt; 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 s1-20020a655841000000b004fbd3213f0fsi16348379pgr.357.2023.03.22.09.43.43; Wed, 22 Mar 2023 09:43:54 -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=2afMyfPt; 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 S229682AbjCVQdS (ORCPT + 99 others); Wed, 22 Mar 2023 12:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjCVQdQ (ORCPT ); Wed, 22 Mar 2023 12:33:16 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AABB57288; Wed, 22 Mar 2023 09:33:15 -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 5CD952296A; Wed, 22 Mar 2023 16:33:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1679502794; 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=qTpAse4yQlLrVv62nJHsMqe/z8ePeYy539wki/3pRWU=; b=2afMyfPth7ZJY0Be4wBTf4aAa1EhrNwI1ScBUAwkzkxwK1hWK6WPif3bnyaLEEFVUqh+Gn kwqKdMrlDSRX483Xo1z/WePvtD/FPqixSKiKWgEjLPKcMz571SG64g5t4OOr5d8ziYozXP B5QfqioyrIVKarnN+uWJ0U+iqe3t9zI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1679502794; 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=qTpAse4yQlLrVv62nJHsMqe/z8ePeYy539wki/3pRWU=; b=aPBGcobT6J+Ig1Y3qgX25bNRUcxvNQF8EZhmOccR/q4E8meuNlfSYOEqY8pr6m4BbgopRw fF1oRJaYniVLROBg== 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 3896B13416; Wed, 22 Mar 2023 16:33:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +rZBDcotG2TFcgAAMHmgww (envelope-from ); Wed, 22 Mar 2023 16:33:14 +0000 Message-ID: <521de882-e9b7-4304-450d-9c15a9f0815b@suse.cz> Date: Wed, 22 Mar 2023 17:33:13 +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 12/14] mm: move kmem_cache_init() declaration to mm/slab.h 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-13-rppt@kernel.org> From: Vlastimil Babka In-Reply-To: <20230321170513.2401534-13-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)" > > kmem_cache_init() is called only from mm_core_init(), there is no need > to declare it in include/linux/slab.h > > Move kmem_cache_init() declaration to mm/slab.h > > Signed-off-by: Mike Rapoport (IBM) > Reviewed-by: David Hildenbrand Reviewed-by: Vlastimil Babka