Skip to content

Commit 618a8a9

Browse files
sergey-senozhatskyakpm00
authored andcommitted
zsmalloc: document freeable stats
When freeable class stat was added to classes file (back in 2016) we forgot to update zsmalloc documentation. Fix that. Link: https://lkml.kernel.org/r/[email protected] Fixes: 1120ed5 ("mm/zsmalloc: add `freeable' column to pool stat") Signed-off-by: Sergey Senozhatsky <[email protected]> Cc: Minchan Kim <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 119b57e commit 618a8a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/mm/zsmalloc.rst

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ pages_used
8383
the number of pages allocated for the class
8484
pages_per_zspage
8585
the number of 0-order pages to make a zspage
86+
freeable
87+
the approximate number of pages class compaction can free
8688

8789
Each zspage maintains inuse counter which keeps track of the number of
8890
objects stored in the zspage. The inuse counter determines the zspage's

0 commit comments

Comments
 (0)