summaryrefslogtreecommitdiffstats
path: root/mm/zsmalloc.c
diff options
context:
space:
mode:
authorHui Zhu <zhuhui@xiaomi.com>2015-11-06 19:29:23 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 20:50:42 -0500
commit8f958c98f28d088a1ef3e021ab7aeb59a234b953 (patch)
treeea5844187d58853fb9ee46469daaad5a3de52328 /mm/zsmalloc.c
parent6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe (diff)
zsmalloc: add comments for ->inuse to zspage
[akpm@linux-foundation.org: fix grammar] Signed-off-by: Hui Zhu <zhuhui@xiaomi.com> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Dan Streetman <ddstreet@ieee.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zsmalloc.c')
-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 @@
38 * page->lru: links together first pages of various zspages. 38 * page->lru: links together first pages of various zspages.
39 * Basically forming list of zspages in a fullness group. 39 * Basically forming list of zspages in a fullness group.
40 * page->mapping: class index and fullness group of the zspage 40 * page->mapping: class index and fullness group of the zspage
41 * page->inuse: the number of objects that are used in this zspage
41 * 42 *
42 * Usage of struct page flags: 43 * Usage of struct page flags:
43 * PG_private: identifies the first component page 44 * PG_private: identifies the first component page