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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2E2AECE58D for ; Thu, 10 Oct 2019 20:04:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 76E9E206B6 for ; Thu, 10 Oct 2019 20:04:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="u9hVV+E3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76E9E206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id D405A8E0005; Thu, 10 Oct 2019 16:04:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CF1328E0003; Thu, 10 Oct 2019 16:04:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C06C48E0005; Thu, 10 Oct 2019 16:04:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0138.hostedemail.com [216.40.44.138]) by kanga.kvack.org (Postfix) with ESMTP id A02078E0003 for ; Thu, 10 Oct 2019 16:04:34 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with SMTP id 3859E180AD80C for ; Thu, 10 Oct 2019 20:04:34 +0000 (UTC) X-FDA: 76028952468.15.vein00_7f23dee2c1f3d X-HE-Tag: vein00_7f23dee2c1f3d X-Filterd-Recvd-Size: 4328 Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by imf46.hostedemail.com (Postfix) with ESMTP for ; Thu, 10 Oct 2019 20:04:33 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id d1so7446877ljl.13 for ; Thu, 10 Oct 2019 13:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=vNAkVByxwPtj47oxh98xv0GNfuNUm1Vy9lgUWGV2Qmo=; b=u9hVV+E3ZunE59sLzfkY+4ImFrvA16AquH47JmeGhtlvu3jWShqzBOWm7YyGfokRAS tn8X4hStXltCKlJKMnh9JcUa8GVzJ+MxoJ5Cne0x+A9ZcEomA/3/GfSDCL1+2uibmlRz SSdNt7XeaRog9G99v8IaqCfxnP3D9xYV54jE2nZiah2uznevCJp9XBfHNx8qXNLfK5Nw y3+Rel4ftgbbE2+y9U+ceeT1qxkDuDbJ3i02Su4CVh0fx7D1ZBXxvyZR5nsEQ2DRRIKC RSBWiIhsvWTkZgKeBUMkqCyd1SWxsvqQ1DwmfsOt/TYOvydomTkG5N3DJRY/Kap7SSHv A0/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-transfer-encoding; bh=vNAkVByxwPtj47oxh98xv0GNfuNUm1Vy9lgUWGV2Qmo=; b=NWSdO85/tShOtu0vn6Ldo1G82oKLWYpAze8eoagsCCpxugKxaFbMC/e61jstH2mSEu RL7YT1tDJiPO/RyoHKjrQYaig1vLb4tTSPqDl43qYNkOXjR15RGy0ey68f/Udf/sFKl9 srsH2Czbz2p35PkdzLpGHmM21H6rWwfR3f47xuBgvOV8+Ij4hQmYfLzk3+9uEI2J2Dck 1uu1z3mFWaxvvOtbS2hX+mz+D2DQV0XXFWrD+g0w8QPYs4wW2jwiXP14GeKne7CdUgwr bfJEQB5lVyrqHM/t73CSP2yBg6NF14T6NwMVMnS5ScNK539dTdUUvs5P/MjsGtydAI8p PjBQ== X-Gm-Message-State: APjAAAWJAQ0h4w9NmL4SK68WczTcvgPKKJG0Vy7s2KQE9AZ0Ij2IHX7g 87pLJzk96FG5akq1Ed8lbsrIdS61QRD0Mg== X-Google-Smtp-Source: APXvYqz3NjfB0tQpVZRLiMxA+kFCIJ+uOCfqM6jrEJCnVfaz74fPH8QJt3Xqmfz1pA4clneR2cHXJQ== X-Received: by 2002:a2e:8183:: with SMTP id e3mr7433890ljg.14.1570737871799; Thu, 10 Oct 2019 13:04:31 -0700 (PDT) Received: from vitaly-Dell-System-XPS-L322X (c188-150-241-161.bredband.comhem.se. [188.150.241.161]) by smtp.gmail.com with ESMTPSA id 126sm2222558lfh.45.2019.10.10.13.04.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 13:04:30 -0700 (PDT) Date: Thu, 10 Oct 2019 23:04:14 +0300 From: Vitaly Wool To: Linux-MM , Andrew Morton , Dan Streetman , Minchan Kim Cc: Sergey Senozhatsky , LKML , Vlastimil Babka , Shakeel Butt , Henry Burns , Theodore Ts'o Subject: [PATCH 0/3] Allow ZRAM to use any zpool-compatible backend Message-Id: <20191010230414.647c29f34665ca26103879c4@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: The coming patchset is a new take on the old issue: ZRAM can currently be used only with zsmalloc even though this may not be the optimal combination for some configurations. The previous (unsuccessful) attempt dates back to 2015 [1] and is notable for the heated discussions it has caused. The patchset in [1] had basically the only goal of enabling ZRAM/zbud combo which had a very narrow use case. Things have changed substantially since then, and now, with z3fold used widely as a zswap backend, I, as the z3fold maintainer, am getting requests to re-interate on making it possible to use ZRAM with any zpool-compatible backend, first of all z3fold. The preliminary results for this work have been delivered at Linux Plumbers this year [2]. The talk at LPC, though having attracted limited interest, ended in a consensus to continue the work and pursue the goal of decoupling ZRAM from zsmalloc. The current patchset has been stress tested on arm64 and x86_64 devices, including the Dell laptop I'm writing this message on now, not to mention several QEmu confugirations. [1] https://lkml.org/lkml/2015/9/14/356 [2] https://linuxplumbersconf.org/event/4/contributions/551/