From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f193.google.com ([209.85.214.193]:33957 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbeISNF5 (ORCPT ); Wed, 19 Sep 2018 09:05:57 -0400 Date: Wed, 19 Sep 2018 16:29:16 +0900 From: Sergey Senozhatsky To: Minchan Kim Cc: LKML , Andrew Morton , Sergey Senozhatsky , stable@vger.kernel.org Subject: Re: [PATCH] zram: fix missing zero pages for memory tracking Message-ID: <20180919072916.GA1180@jagdpanzerIV> References: <20180919051846.234615-1-minchan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180919051846.234615-1-minchan@kernel.org> Sender: stable-owner@vger.kernel.org List-ID: On (09/19/18 14:18), Minchan Kim wrote: > We need to count zero filled pages as well as other pages in zram. A nit, 'ZRAM_FLAG_SHIFT + 1' covers all ZRAM_SAME pages, not only zero filled pages. -ss