Skip to contentSkip to conversation

Documentation: zram: fix the description about orig_data_size of mm_stat

PATCH Applied Yue Hu 2 participants 2 messages Feb 6, 2020 – Feb 13, 2020

Subsystems (3)
lore
Share & tools
lore

Yue Hu

author
#0 lore raw

PATCH 1/1 Documentation: zram: fix the description about orig_data_size of mm_stat

From: Yue Hu <[email protected]>

orig_data_size counted the same_pages by commit 51f9f82c855d ("zram:
count same page write as page_stored"), so let's fix it.

---
 Documentation/admin-guide/blockdev/zram.rst | 2 --
 1 file changed, 2 deletions(-)
Documentation/admin-guide/blockdev/zram.rst +0 -2
index 27c77d853028..a6fd1f9b5faf 100644
@@ -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
Signature · 1 line
2.11.0
maintainer Applied
#1 lore raw
Quoted 15 lines · On Thu, 6 Feb 2020 19:10:31 +0800 Yue Hu <[email protected]> wrote:

From: Yue Hu <[email protected]>

orig_data_size counted the same_pages by commit 51f9f82c855d ("zram:
count same page write as page_stored"), so let's fix it.

---
 Documentation/admin-guide/blockdev/zram.rst | 2 --
 1 file changed, 2 deletions(-)
Documentation/admin-guide/blockdev/zram.rst +0 -0
index 27c77d853028..a6fd1f9b5faf 100644

Documentation/admin-guide/blockdev/zram.rst line of text and contains the following stats separated by whitespace: · line 256

Quoted 8 lines
Documentation/admin-guide/blockdev/zram.rst +0 -2
@@ -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