zsmalloc: add comments for ->inuse to zspage

[[email protected]: fix grammar]
Signed-off-by: Hui Zhu <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Cc: Dan Streetman <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Hui Zhu 2015-11-06 16:29:23 -08:00 • committed by Linus Torvalds
commit 8f958c98f2

View file

@ -38,6 +38,7 @@
* page->lru: links together first pages of various zspages.
* Basically forming list of zspages in a fullness group.
* page->mapping: class index and fullness group of the zspage
* page->inuse: the number of objects that are used in this zspage
*
* Usage of struct page flags:
* PG_private: identifies the first component page