From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752219AbdHKBi0 (ORCPT ); Thu, 10 Aug 2017 21:38:26 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33943 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751416AbdHKBiZ (ORCPT ); Thu, 10 Aug 2017 21:38:25 -0400 Date: Fri, 11 Aug 2017 10:38:39 +0900 From: Sergey Senozhatsky To: Sergey Senozhatsky Cc: Yisheng Xie , akpm@linux-foundation.org, minchan@kernel.org, ngupta@vflare.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] zram: fix compr_data_size stat Message-ID: <20170811013839.GC520@jagdpanzerIV.localdomain> References: <1502413832-13560-1-git-send-email-xieyisheng1@huawei.com> <20170811013553.GB520@jagdpanzerIV.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170811013553.GB520@jagdpanzerIV.localdomain> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (08/11/17 10:35), Sergey Senozhatsky wrote: > On (08/11/17 09:10), Yisheng Xie wrote: > > The compr_data_size is a stat for compressed size of pages stored, which > > should add comp_len when we compresse a page. > > > > Meanwhile fix typos in comment: > > * ZRAM_SAME means page consists the same element not the entirely zero page > > * read_from_bdev_async() return 1 to avoid call page_endio() in zram_rw_page() > > > > Signed-off-by: Yisheng Xie > > Reviewed-by: Sergey Senozhatsky seems that some of the changes can be folded into the existing -next patches. -ss