Linux-Doc Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Documentation: zram: fix the description about orig_data_size of mm_stat
@ 2020-02-06 11:10 Yue Hu
  2020-02-13 18:33 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Hu @ 2020-02-06 11:10 UTC (permalink / raw)
  To: minchan, ngupta, sergey.senozhatsky.work, corbet
  Cc: linux-kernel, linux-doc, huyue2, zbestahu

From: Yue Hu <zbestahu@163.com>

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 <zbestahu@163.com>
---
 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
-- 
2.11.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Documentation: zram: fix the description about orig_data_size of mm_stat
  2020-02-06 11:10 [PATCH] Documentation: zram: fix the description about orig_data_size of mm_stat Yue Hu
@ 2020-02-13 18:33 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2020-02-13 18:33 UTC (permalink / raw)
  To: Yue Hu
  Cc: minchan, ngupta, sergey.senozhatsky.work, linux-kernel,
	linux-doc, huyue2, zbestahu

On Thu,  6 Feb 2020 19:10:31 +0800
Yue Hu <zbestahu@gmail.com> wrote:

> From: Yue Hu <zbestahu@163.com>
> 
> 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 <zbestahu@163.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-06 11:10 [PATCH] Documentation: zram: fix the description about orig_data_size of mm_stat Yue Hu
2020-02-13 18:33 ` Jonathan Corbet

Linux-Doc Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-doc/0 linux-doc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-doc linux-doc/ https://lore.kernel.org/linux-doc \
		linux-doc@vger.kernel.org
	public-inbox-index linux-doc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-doc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git