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 0F49AC7618A for ; Mon, 20 Mar 2023 10:45:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230057AbjCTKpn (ORCPT ); Mon, 20 Mar 2023 06:45:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231147AbjCTKoq (ORCPT ); Mon, 20 Mar 2023 06:44:46 -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 48789199E9 for ; Mon, 20 Mar 2023 03:42:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679308859; 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=dJguxbCJYBtj4CFOHRDKkjtpLbwvo1pCuTkJH1ikJVM=; b=crKGov1Nbgr7fKKrkdYtWC/Ss8hE/jeVXh0mDuIRO6ApQjYmNgfoJGYBgRV1bCJWyrN5Sw p44xQ9DYOCQViecFviOawvvVYlqKGVANBNTZ9874nWmp+ycqVvgXliqzO5sWr/ZSVM9Qeo cDAzMFPyjvYHn3J6Jt6sSn7FaP1FBPc= 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-323-BZCLVytnOZmWtJOP85Xb8A-1; Mon, 20 Mar 2023 06:40:58 -0400 X-MC-Unique: BZCLVytnOZmWtJOP85Xb8A-1 Received: by mail-wm1-f69.google.com with SMTP id o42-20020a05600c512a00b003ed26fa6ebdso4234538wms.7 for ; Mon, 20 Mar 2023 03:40:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679308857; 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=dJguxbCJYBtj4CFOHRDKkjtpLbwvo1pCuTkJH1ikJVM=; b=4TN5lbafpgUC+el2JnKaPBdc6jAnR0gQfN6qeDPrX8TG3ysWxs6TBAXChZspPNutQt 5HxEe+doS4tYZPpIiuQoUd2b4l7BHFGpqmI0yltxX/CTSyN2zU4ujlvKn/TwkfGapFXV k4PW5ZQhPWEWD/zlUWwRfHViZG2PU7+HglWDcWYllfTFUjPxFrgDc3I0wglZRJRB1mxh Yl2RoXjWmqaERrdC6ry1k9wDFPnpfdOQ63d+R2IbNsmM3O05jJO0hTCQmbxJ18+2P1LF ua3JGxdCAUgqmwMc0PznitEXdg/T/sIzZSCt2LJldE5lND4Bkz950ip7QgF5EbzK0q9+ 3pEA== X-Gm-Message-State: AO0yUKWqcwCbRyb+Bl08c+WxuMmCM5BkJ8BrYM0mKxMCbgq33iRrH5kZ w1SSyiJh0JMTUeNV94QwYOpypEWBB6VedJK2H+q8sl1+JsOH7tC5KY3uV7JInnOlbzUSF9zw7Io TTpzp68TS8gyxNgm/QSIl+aXS X-Received: by 2002:a1c:750a:0:b0:3ee:392:39e3 with SMTP id o10-20020a1c750a000000b003ee039239e3mr1321304wmc.30.1679308856965; Mon, 20 Mar 2023 03:40:56 -0700 (PDT) X-Google-Smtp-Source: AK7set+OTIiIktUe11EIou7C0lzkEJJROa0OtRp3yUuYILIQu/flQFGe1MwG4Rz3QJZ4IPl6vg4+tA== X-Received: by 2002:a1c:750a:0:b0:3ee:392:39e3 with SMTP id o10-20020a1c750a000000b003ee039239e3mr1321298wmc.30.1679308856790; Mon, 20 Mar 2023 03:40:56 -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 y13-20020a1c4b0d000000b003ed551b139csm10108565wma.36.2023.03.20.03.40.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Mar 2023 03:40:56 -0700 (PDT) Message-ID: <56495339-fe3a-97a0-bc98-ade387adeab3@redhat.com> Date: Mon, 20 Mar 2023 11:40:54 +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 13/15] mm: move kmem_cache_init() declaration to mm/slab.h 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-14-rppt@kernel.org> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230319220008.2138576-14-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)" > > 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 -- Thanks, David / dhildenb