Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp9911ybp; Thu, 10 Oct 2019 13:07:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwSUsP5C8/IbHw85Ch0mi9PtDGo35Ul4DSmmr97pm+AAhSUNXqX7zqQDLmXTb3bgkAfSurV X-Received: by 2002:a05:600c:10ce:: with SMTP id l14mr220983wmd.15.1570738062993; Thu, 10 Oct 2019 13:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570738062; cv=none; d=google.com; s=arc-20160816; b=XeEj+xsXUONhoYDRF/6ZI8HBc9mgpAHo43ytjq6y7vEpPvLcFFhRQWPiVx6kXFcRcY 41aGMtSi9xQ7fyYRWdxZ9tQjgKPLvTlNku11xZoyTwgavcizAyqUMZMTlxSaw/PU2KK1 /RhNPY0mIRM40OVvOPM8U70Osdjhg65V2MMwA2ccGjrN9uXJjK7RP1xbgrQWGFLrhbck OxYJ5WEd+7Dgi6sdZb99DHRkf49FuSW5LvgpHy5zJfUOqYN2NkRWJEzAYW2YpNueE4Mb S13AMVH7GjRt4dOl6fjuhzQBmLpB4aBizXjJLLKukRq5Y3B+GHfKzfqGPBx8t5UgvtYR 4Nvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=vNAkVByxwPtj47oxh98xv0GNfuNUm1Vy9lgUWGV2Qmo=; b=ahqgLfNYIVDVhskkYmKrU/IkZw34wgMFPYQUWuGUUzJZ+P/A6YMhHbnrCbCcZp6wRp jwFNpWGc59ukjcFOgLXYusy8E/ebdMMymmuPe1Z7jBjJgSnDIASvjmHiXi9PfNwwaIOS ftf9IUEFV+0A1xuP378s8JOS0PegwL3j2iEky/W4Wf7xzMP2mjVIrltB072wfrYHCksE NmxunzCZRtFdVmASU3YQvyoBRw6lFLp/eqGpagHUY2iNdNuUQbSSaeoVeZbOaMVnQIan 5I3VQJyKnIi4gX54efg+Mex8hnn3uXT2OCkSE/WHOICdHfuTt00+/akpjvmrdIvGGrqf 1lmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u9hVV+E3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si4193884edd.305.2019.10.10.13.07.18; Thu, 10 Oct 2019 13:07:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=u9hVV+E3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726354AbfJJUEe (ORCPT + 99 others); Thu, 10 Oct 2019 16:04:34 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:45546 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725867AbfJJUEe (ORCPT ); Thu, 10 Oct 2019 16:04:34 -0400 Received: by mail-lj1-f195.google.com with SMTP id q64so7461714ljb.12 for ; Thu, 10 Oct 2019 13:04:32 -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=NM8K9R996vXPdVsIEat+kS9Lpz3VRVWrWt/ksPWvUp1E9ED+ZbSMguO7xywQNVLDQc Na3B9yg7e5h0md6hlFIfIq2WdCLk5P48j9xtPZ59PyGMo3+9V8bqDt9DojFLplvvPV0f bXDvpFZZSoRHrY8Ih8uLnTSuzIjWCPUGWVzc361gdAYZBjJkJdgs+4h+nOoRMyGEm+YP OL9U9uPj0axmcnSJ6wPpOiPA4wM16jY2rpRdB0V69X0dLH1qvtfcI0eKT1q8vF5vqcVc oNT0pFOlJ2xzM0+BdHdNe4JnLHRiKeLrNl+mYFuY53kWKBEBiUhs/Z30vkNcEQqt9gEU q0Vw== X-Gm-Message-State: APjAAAVjfRBY1dkAgUSi+eaXi+/C5XURvXN5roWUC8UMktxSc6DBS6j1 dRT1pEK4Rdeyx7lYwpfVexkg3QP785FNdQ== 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/