From mboxrd@z Thu Jan 1 00:00:00 1970 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 BCDB3E7D242 for ; Tue, 26 Sep 2023 07:29:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232935AbjIZH33 (ORCPT ); Tue, 26 Sep 2023 03:29:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232301AbjIZH31 (ORCPT ); Tue, 26 Sep 2023 03:29:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34E88DC for ; Tue, 26 Sep 2023 00:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=vc4Cre/FG5qT/QgCqgpeBABCKG/U+RSEpRQZ2rr0kos=; b=BP/AcUtPRq5nmG67dVQuIgie0q bQduqE+F7z57ByRadtQ2epBdyYaEND6QXoL6Yy+9rr3REj4g2Aqz3SX+lRGGGYX2DiPpUwyMFOyeh ryLBjY6CkdxJEYeFZLIvgZZy15QjJKwB6CGg3YlQFCDHhQQqVZXGftCUvFfTmGNKolJYvCqEOc2Uw 1LtwjpuXXYHS5qkrWIZJlfCsB5EFHUlAqqMjQCUgVgIdrlO80gtZgMTUgc+F3a/1WyYeqUn1OG5vb sbnxdWXABIzKmluGRRmo73F5uNuBZKfzkRiL/TX9nB6qowuCpYlN0gj8lcogNv2Hkzw2sYL6IVKgE yzVMMeZw==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1ql2VL-00FnU7-0d; Tue, 26 Sep 2023 07:29:11 +0000 Date: Tue, 26 Sep 2023 00:29:11 -0700 From: Christoph Hellwig To: Nhat Pham Cc: akpm@linux-foundation.org, hannes@cmpxchg.org, cerasuolodomenico@gmail.com, yosryahmed@google.com, sjenning@redhat.com, ddstreet@ieee.org, vitaly.wool@konsulko.com, linux-mm@kvack.org, kernel-team@meta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] zswap: change zswap's default allocator to zsmalloc Message-ID: References: <20230908235115.2943486-1-nphamcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230908235115.2943486-1-nphamcs@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 08, 2023 at 04:51:15PM -0700, Nhat Pham wrote: > Out of zswap's 3 allocators, zsmalloc is the clear superior in terms of > memory utilization, both in theory and as observed in practice, with its > high storage density and low internal fragmentation. zsmalloc is also > more actively developed and maintained, since it is the allocator of > choice for zswap for many users, as well as the only allocator for zram. Dumb question from an outside, why do we then even keep the other two allocators around?