Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2470684rwl; Sat, 1 Apr 2023 08:16:36 -0700 (PDT) X-Google-Smtp-Source: AKy350a4BBNY/cMszuzdCLswOBOSN4z0wi1iXvcKe6AoPwfkeHA+0WLE7Wa80bS42QvCmlYn3usD X-Received: by 2002:a05:6402:3593:b0:4fd:21a6:832d with SMTP id y19-20020a056402359300b004fd21a6832dmr12646083edc.11.1680362195973; Sat, 01 Apr 2023 08:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680362195; cv=none; d=google.com; s=arc-20160816; b=mh19Y1GfDNQK+C/kNSOvjSYWKYg3rmeE8CQ9FFQB5AKqyO4/hF0Ws3pdzHuGujoGZW p7cnJ2tE4QsSn/kRarwwLrmAKdQCR6vOKq+DnePEygqN8mQ4tXFjVVCwFxyB3iUbPd1O 7PuFtYGxdT3L0Xc1RYWksPj4GqfBX67m1qX6csaQRBMipeWYUkZG66VIN5ETMYEaykUE fzvr+u0QGwaoZCjBVYftUHggg4IDQQrMhGakZCyk7KMRtDcD57jo1xwoWXhXpGTXCg1W EMPxjW782xQIPdQwNChlylVFxVt6cyXgCiTNxb+M2GcpU6yAbPHUWFjRkV21O0Q1f5ca ub1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C6H0rrg5NJ+2lYtireHy454h3AJn13XdmPAVV6vVWgc=; b=t/MCrtbPxWC3LzztYOcYXAInzNWiTvWmcsEH+5Zt0H5+RSFT6zRrNL9IXnGuBPU4JG kSraPSPt7UBc1sMo9g/iIj4c973eWRov+BOofbcUL6yDJJzTiC6opflJ1kBJHwMrP+C8 DGCGtjPA1IwjnWVp+QzVTa1GTnJcq4+VxiSP2iYhSxuVP1G7hQXRY66MzMWElDbxuD0j 3fkZLaSd6P3h7/Z8MAodf6U/sojk1tIkNixuLg9UuxUvJjvR05ApPnsGfGZEeOBrU2rr jqNIMrxtA41Mo5gCgoAUIIg/C2Cg+TrVtKaIS+r92RG23DuolnjljVyvxuI1g7FFnLwT Kqbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=ZSuCN07j; 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 z17-20020a170906945100b008dc76bf3a69si2667424ejx.735.2023.04.01.08.16.09; Sat, 01 Apr 2023 08:16:35 -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=@infradead.org header.s=casper.20170209 header.b=ZSuCN07j; 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 S229570AbjDAPPW (ORCPT + 99 others); Sat, 1 Apr 2023 11:15:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjDAPPU (ORCPT ); Sat, 1 Apr 2023 11:15:20 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAF2911EA0 for ; Sat, 1 Apr 2023 08:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=C6H0rrg5NJ+2lYtireHy454h3AJn13XdmPAVV6vVWgc=; b=ZSuCN07jL/SIC0g2Rz9ooxcdD6 7iZ/vnk7Mti73k29bOGwlhJ5oWBMDXG1LfFuNj9fLpPiZuLOm+iWxg61udPit5t0hiMfTj6zINR6i hesQgmNVyNfEO7faG0JWXneIzIF6frMRFJIdM+FiU99G2U9+pdo0DeBDgkzsyEyV7K/u3fCe/amVD UEjXaFMvszAtcuGmDZVPm8vXa3/qMROqjmUThR2VrwijEuSnrC747j3AHfzaXn0BoJY9d5Ke3fBIj 0RkejF+HrdCNAMO2k+5+FtMv/JuufdUJbyjbBFNRUwtjg3pvbq1XRH2IvntMlkRoXF+ZuH5ertCe2 eIelZXmQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1picwj-00CW7k-5l; Sat, 01 Apr 2023 15:15:13 +0000 Date: Sat, 1 Apr 2023 16:15:13 +0100 From: Matthew Wilcox To: Vlastimil Babka Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH] mm: remove all the slab allocators Message-ID: References: <20230401094658.11146-1-vbabka@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230401094658.11146-1-vbabka@suse.cz> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 Sat, Apr 01, 2023 at 11:46:58AM +0200, Vlastimil Babka wrote: > As the SLOB removal is on track and the SLAB removal is planned, I have > realized - why should we stop there and not remove also SLUB? What's a > slab allocator good for in 2023? The RAM sizes are getting larger and > the modules cheaper [1]. The object constructor trick was perhaps > interesting in 1994, but not with contemporary CPUs. So all the slab > allocator does today is just adding an unnecessary layer of complexity > over the page allocator. Acked-by: Poisson D'Avril (Oracle)