Skip to content

Commit

Permalink
zsmalloc: add comments for ->inuse to zspage
Browse files Browse the repository at this point in the history
[[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]>
  • Loading branch information
teawater authored and torvalds committed Nov 7, 2015
1 parent 6f3526d commit 8f958c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mm/zsmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f958c9

Please sign in to comment.