Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3313446imu; Thu, 29 Nov 2018 20:37:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/W3gpj7ygBcA6K0a0SLiTFR22bESzXVnnq0cbjKOFxlshxLjcEv1zQeQST1cu+HXfnmJSRi X-Received: by 2002:a65:484c:: with SMTP id i12mr3580138pgs.309.1543552675846; Thu, 29 Nov 2018 20:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543552675; cv=none; d=google.com; s=arc-20160816; b=WMlOhVID4rhsBueb4dfrh9WnNpqSU01AGdB6J7fpJpcqsa1gT1n2ssC4SK35fns7sY M2DSr6XPac9kEhSMvcLDbIQtSFfy+P90aJnaOL+p+sRX9YIkIgnpijacekA9aCCExMZu qyGbQ0WFy3mbP4UoNHKHt6jyQcPOF90T7JVcE2oq0rZkkJVaadu/bPQqrWZeRIFqD72x ZPX6CobEtsGoEXC0LgRy8ynFBhe3MM1sycnK2a0lSMKhrX47vYBoj/bnFb8nabh8d2AB W0fbtMZyq55CqnpucLGSXUwe9AzN0ducI8ehvHkVekjHgiXWv923kwfBliD408ytgYkS cogA== 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=YYsxccKV4GfjAipx+mKa0UZHk0+8dvMN/X9SO6kCyEc=; b=0jhk0Bisy01s6ToxagLrAUPL1AK/cjHt240IyaH0wwY1Q//YDg7hpRG7jy3U7duVtr +2NcWjbpCC3LGDhBh5SKPGvZEz1OUFUn52ie2ievxzt1qqIKc/dMkdxZXwm2D/ZQvCvv 7bMP7RS092xQbHAwtKbFvDmqQcibieJ5jQ4M75mHaQg1g9QxI4PTpVwYXTaj47yLsp8K 4Z0r1D7JY9i4vBvRwTJqZ9BbQHGfSZrHcvwVf6WjZEvT7t/VZGSKh9ZU9qRMUVoYf81w hhD/V2pqE0MwYztwHdaSyYBxV2Lntu/If9iHB2kSd6n1Q1rtWMXHJO1hBJyUEftpjJe2 EnpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Jv5WMeB3; 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 u186si3708973pgd.131.2018.11.29.20.37.40; Thu, 29 Nov 2018 20:37:55 -0800 (PST) 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=Jv5WMeB3; 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 S1726545AbeK3PpB (ORCPT + 99 others); Fri, 30 Nov 2018 10:45:01 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:43603 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726375AbeK3PpB (ORCPT ); Fri, 30 Nov 2018 10:45:01 -0500 Received: by mail-pf1-f194.google.com with SMTP id w73so2149178pfk.10 for ; Thu, 29 Nov 2018 20:37:01 -0800 (PST) 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=YYsxccKV4GfjAipx+mKa0UZHk0+8dvMN/X9SO6kCyEc=; b=Jv5WMeB3ciZFtkSmFYslF7i2HzWe1gcUFDA/WY5PhPYm92rLSO0ocvT7OmTr1uLgMe avHP9lwh5Gug87z+psRwQcrVwMyoseFHpiMxFi+c+buiLvi9qvkhlb8bTUdyN9L0/GRP /+wb61WtPETP+DLTCWLmoTSmA6I3bwSmAM3Ry0J1dVb5ybX7XuMq6/B58LYELTXMNerj C4Pu6+J7pCIJQjSQXE6z2tPOJz8fiwco7WkzrXw9qNwrNtNm+KLQxixk97I2v6o8+GBt 0xjmY1zcAY7C3iVRHZrnI27UcnhLmUCtzM3d0ikVL/k24uhc7GTpAZMTPExgh7tJvToN CisQ== 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=YYsxccKV4GfjAipx+mKa0UZHk0+8dvMN/X9SO6kCyEc=; b=XDBpm9ToQ+WdYndjbPnDsYzKvc3uAjV0Sl4wGu1VxcWjvIPJXyK/zpTSRNJCnjhNZ7 UbEIqvVmSlFXXPAOA5pEdnVTZVbU6sVUOu+0iQ/wgxhkTPD3SStJbzTE/PS7svM28zBD Zbz5PPpanOFT749Y/hP7sEQt3rhFbJ5mSuptYa76pcJb7kO7kqqT/vK9vc1SjU66walF 7yWrgmAqqUNAhPK9vhTBwv8Vbg4EqwGDNPflQBAIhx6DqJBvaKZ7qWFsBsJNabHoVg0w 9NWU5zTk+d2TWn92yJQvgLJsBoOFnv4fqQR4w7ACti+55kLmVYrQo6IL29EucPGV7h1g Fs0A== X-Gm-Message-State: AA+aEWaMEv5nVDjPKN0w1DYatbpXFXEAaPd5woj3VY1+xhCYMmjax5JI Sv3U5cFJPPC8M5no1EXslRc= X-Received: by 2002:a63:88c7:: with SMTP id l190mr3548902pgd.110.1543552621298; Thu, 29 Nov 2018 20:37:01 -0800 (PST) Received: from localhost ([175.223.39.43]) by smtp.gmail.com with ESMTPSA id p24sm10266893pfk.155.2018.11.29.20.36.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Nov 2018 20:37:00 -0800 (PST) Date: Fri, 30 Nov 2018 13:36:56 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: Andrew Morton , LKML , Sergey Senozhatsky , Joey Pabalinas Subject: Re: [PATCH v3 0/7] zram idle page writeback Message-ID: <20181130043656.GC605@jagdpanzerIV> References: <20181127055429.251614-1-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181127055429.251614-1-minchan@kernel.org> User-Agent: Mutt/1.11.0 (2018-11-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (11/27/18 14:54), Minchan Kim wrote: > Inherently, swap device has many idle pages which are rare touched since > it was allocated. It is never problem if we use storage device as swap. > However, it's just waste for zram-swap. > > This patchset supports zram idle page writeback feature. > > * Admin can define what is idle page "no access since X time ago" > * Admin can define when zram should writeback them > * Admin can define when zram should stop writeback to prevent wearout > > Detail is on each patch's description. > > Below first two patches are -stable material so it could go first > separately with others in this series. I had some time to look at the patches Reviewed-by: Sergey Senozhatsky Will give it some testing later; next week maybe. -ss