zsmalloc: add comments for ->inuse to zspage
authorHui Zhu <[email protected]>
Sat, 7 Nov 2015 00:29:23 +0000 (16:29 -0800)
committerLinus Torvalds <[email protected]>
Sat, 7 Nov 2015 01:50:42 +0000 (17:50 -0800)
[[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]>
mm/zsmalloc.c

index 8b8e0dac0a2afc256fafc4b51c9bcd05530468b0..4396b82fabafeaad74a65149073de9298037ce57 100644 (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