Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4368510ybp; Mon, 14 Oct 2019 03:37:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzs4m2oN269pFLYF7M2JdPA8zZQlrE1UCFLZFG6NE8zNab3heCKY1YwIK5PDVcDGDxelhPj X-Received: by 2002:a17:906:c2c1:: with SMTP id ch1mr26809455ejb.321.1571049447265; Mon, 14 Oct 2019 03:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571049447; cv=none; d=google.com; s=arc-20160816; b=mC823fsV2yxExJ1oTg9fpyw6ZexaufWivwbZXxc6UsfiMMc7o0V4Ugk4sFKasj5mE9 oD4FMj8QYVnGMVIXMZ8yM5bOrl5fKweNT9ei19xRlQ/SPB/zzdLf/8GdHL0TUyv9z5cO zzl9990bbo7t2gA0MQwgf5VkNcxoVcsKy7z+WfzRme+wSsLX7wJj28Sf0I6ntm1nRmSA 3N1OFFB/+Zed6H8JA0CRdxrcvCODkqSphWyTvVwsYKFE1r1UICc8fTVTRsAvys+ubjEO FD18iNsIj7Lq7XvRyPMkZpRcQWXB9+dVGNDt/sA5+7HatW5SjUYgfx7Lc+GrdrpaNJo9 Zqgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RBxhSOhGoBq865LLyCQ9HRQenV+KPGNi6KV33B0fJwk=; b=sffevpLfAm9D2je+oCRG5XKSndsxTOpTcKg+x5tseSE6aawfDkt4gZlYtLk4HdAhmP eWvD3mFI8AS9QGm2q7bkf/MFEkwsKSF/uIhlDpi6E7SpK9ySjHszlnStand5xWToHgLD 3vwJAk8XmYMER82q8n44sch2vZ3tLUF5UJ2r3xvSgDj869SKz3tBSZ6k1vBDshwYW/J9 Yy35+rnDZobCZWf5ywPqO8AnvEE+3Xb2R+giK8NqirbX+Cv6p4MTGFlplK2Jp3t1RP3R E378CRZemb0rmCFTjNy+RBUyC5shfnCAXatsNrROng2Mxf1n7ODE0mgfqrip890VrM9j G/Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="hKE/qWvV"; 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 ot22si10781919ejb.153.2019.10.14.03.37.03; Mon, 14 Oct 2019 03:37:27 -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="hKE/qWvV"; 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 S1731421AbfJNKf7 (ORCPT + 99 others); Mon, 14 Oct 2019 06:35:59 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44035 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731305AbfJNKf6 (ORCPT ); Mon, 14 Oct 2019 06:35:58 -0400 Received: by mail-pl1-f193.google.com with SMTP id q15so7823346pll.11 for ; Mon, 14 Oct 2019 03:35:58 -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:references:mime-version :content-disposition:in-reply-to:user-agent; bh=RBxhSOhGoBq865LLyCQ9HRQenV+KPGNi6KV33B0fJwk=; b=hKE/qWvVJ+nBCGXp08FZ1EhL0d/2DPj/AgqTRDupb+P51bWIiyZU/69pZfcptrERTc vScq0gMH/PVrKAIJsdH9B69bFNH0j5EWNQk+hKVy3H6ipxIyv0yKReMhi8a2H/OJOX5D cyHXukI+kjUhp0cAgZEnT39S06eg/3ZQS5WzNW+TNa6u3avSgTUUkbAl930dxBp4Bl0i QKxaKJg4QKHqK4KsN2cmo1wXYDZT4uthupXa0werf9bJCleNMbKPQ+zlWGNUIEYghwxm anxreqA+qVO5s7VXERhGj6XiFspq7IIso5zKAGb/9FrSacDrLjA6zr8lZUiC0b725X1Z e0dg== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=RBxhSOhGoBq865LLyCQ9HRQenV+KPGNi6KV33B0fJwk=; b=eNFo/xdeO9v0iTotzaniHv0Ll9RsAXQ4uGtbdCDrwp2cFTQKypXpl0gsEjxfoSKjLZ yqhny3r36f+YDB/9BjO1d5GG/FFItHVcu7dwooxYX2i/lCu1y9IsEpTvmKyESlwDteSx nH4kGLqvRFUYJaKLtCDl+MSM4CeIWZJuZN39nnCBd3iAZjGg0LJV2HcgWifTdyHLJUXK xQXj4fha+omd7Oo9ePTlCbSrjImSET90c8jlbgGqWxhcoCc30KN/RT9nA5XY0GwFxzhs 8cAxPl/uAUBtI14sfVrksPUDcsoemcdT7HEbsFdgc682PTqHElJN8xYnil9hhOphSMBr Vfqw== X-Gm-Message-State: APjAAAXJ45DTTY0pYCB89YTaCos56xc5/dmlzNUyRmveaXCwUTqkMSPy EaJUqDES2u+16NnvIQET23M= X-Received: by 2002:a17:902:9a06:: with SMTP id v6mr29484930plp.221.1571049357916; Mon, 14 Oct 2019 03:35:57 -0700 (PDT) Received: from localhost ([211.246.68.186]) by smtp.gmail.com with ESMTPSA id k95sm17287237pje.10.2019.10.14.03.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 03:35:57 -0700 (PDT) Date: Mon, 14 Oct 2019 19:33:41 +0900 From: Sergey Senozhatsky To: Vitaly Wool Cc: Linux-MM , Andrew Morton , Dan Streetman , Minchan Kim , Sergey Senozhatsky , LKML , Vlastimil Babka , Shakeel Butt , Henry Burns , Theodore Ts'o Subject: Re: [PATCH 0/3] Allow ZRAM to use any zpool-compatible backend Message-ID: <20191014103341.GA36860@jagdpanzerIV> References: <20191010230414.647c29f34665ca26103879c4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191010230414.647c29f34665ca26103879c4@gmail.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On (10/10/19 23:04), Vitaly Wool wrote: [..] > 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. Oh, right, I do recall it. > 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. A quick question, what are the technical reasons to prefer allocator X over zsmalloc? Some data would help, I guess. > 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. [..] > [1] https://lkml.org/lkml/2015/9/14/356 I need to re-read it, thanks for the link. IIRC, but maybe I'm wrong, one of the things Minchan was not happy with was increased maintenance cost. So, perhaps, this also should be discuss/addressed (and maybe even in the first place). -ss