aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <[email protected]>2015-11-06 16:29:23 -0800
committerLinus Torvalds <[email protected]>2015-11-06 17:50:42 -0800
commit8f958c98f28d088a1ef3e021ab7aeb59a234b953 (patch)
treeea5844187d58853fb9ee46469daaad5a3de52328
parent6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe (diff)
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]>
-rw-r--r--mm/zsmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 8b8e0dac0a2a..4396b82fabaf 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -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