Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp846417ybv; Thu, 13 Feb 2020 10:34:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzHCyiL7ANxIYbPJ/pQTg7OUfAcaTLBZGsdKMEqiPsopSAlbjelnUXMYBRfSm6DD/9SOPfn X-Received: by 2002:a9d:138:: with SMTP id 53mr7472739otu.334.1581618863829; Thu, 13 Feb 2020 10:34:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581618863; cv=none; d=google.com; s=arc-20160816; b=OMg+44noxuLsPXoMQBdJMsmZYt+HZFZF4nERSmZQQT8dK/fC5zIL+cMi9r3h2V4zkJ dkRpXsCNYeXxoKWk6mnNrqNIaM3FhWUUBp5pwfBs/sp9Zezh9xQb7Kpt21gv4ZeurtX/ kzS+1v4f/sQYANdaOsC6ww4QUdh0VEqAGBwcN9gHtnyH0vISjJ4SnXavsgbNrK58NsIc 91kl6uSn9uyLc+i9FmU7XeoRRsvebkoOaCeUJT/hcCPB6hkxUpZ7kYOocKOe19ZxQ0n2 h6a13e8nnNfpPWG27k3GxcSdwzvTi217UPvMa5dMYBrXoE8cyRJGbbOm56GaqdHKyrSW fHYA== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=+F4VgDAmld09IlIn6RQHK1/in3pFfrfJsNfgeBDCc9o=; b=L8XvjjdwerB2kDLLGH4QiNI/hppnRELeOSM5gJJZvucJBp/N10sbOggIWHz+WkDKHh vRm7MoZHj3rjSuPwqutwEV366/jvicYigDG+uGAyGQilWBA9JH5sBOwOO8+K6rFmQpNS lFwru2wOWgTIwcQLVF0hhDYHhkhLeTArR9iD2S57ZezTw33gqvqQjpTx6FaSdpCoUgav AZSJc0xwfQVMQTKznqxQoGGAvmo47YHDNAjvC+Qg8rS7pMlbCAebGchmcL5OBLZranJ5 LCWXVNWfj9BcJFacspmFY57MufCNMVCAR/PeBf/Fe+LAGpJr5EQWZRHtyid1x/ePgOAi DG9w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j16si1427933otq.23.2020.02.13.10.34.09; Thu, 13 Feb 2020 10:34:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728020AbgBMSdr (ORCPT + 99 others); Thu, 13 Feb 2020 13:33:47 -0500 Received: from ms.lwn.net ([45.79.88.28]:46922 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725781AbgBMSdr (ORCPT ); Thu, 13 Feb 2020 13:33:47 -0500 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 554F3740; Thu, 13 Feb 2020 18:33:46 +0000 (UTC) Date: Thu, 13 Feb 2020 11:33:45 -0700 From: Jonathan Corbet To: Yue Hu Cc: minchan@kernel.org, ngupta@vflare.org, sergey.senozhatsky.work@gmail.com, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, huyue2@yulong.com, zbestahu@163.com Subject: Re: [PATCH] Documentation: zram: fix the description about orig_data_size of mm_stat Message-ID: <20200213113345.187b1424@lwn.net> In-Reply-To: <20200206111031.9524-1-zbestahu@gmail.com> References: <20200206111031.9524-1-zbestahu@gmail.com> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Feb 2020 19:10:31 +0800 Yue Hu wrote: > From: Yue Hu > > orig_data_size counted the same_pages by commit 51f9f82c855d ("zram: > count same page write as page_stored"), so let's fix it. > > Signed-off-by: Yue Hu > --- > Documentation/admin-guide/blockdev/zram.rst | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/admin-guide/blockdev/zram.rst b/Documentation/admin-guide/blockdev/zram.rst > index 27c77d853028..a6fd1f9b5faf 100644 > --- a/Documentation/admin-guide/blockdev/zram.rst > +++ b/Documentation/admin-guide/blockdev/zram.rst > @@ -251,8 +251,6 @@ line of text and contains the following stats separated by whitespace: > > ================ ============================================================= > orig_data_size uncompressed size of data stored in this disk. > - This excludes same-element-filled pages (same_pages) since > - no memory is allocated for them. > Unit: bytes > compr_data_size compressed size of data stored in this disk > mem_used_total the amount of memory allocated for this disk. This Applied, thanks. jon