aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHui Zhu <zhuhui@xiaomi.com>2015-11-06 16:29:23 -0800
committerMister Oyster <oysterized@gmail.com>2017-09-25 21:01:27 +0200
commit42cfd094c3baa9ed2196a3cdbf438d89f381f731 (patch)
treea2e840573a303769e7b841ef3390c967152082e2
parent3d82d96a003436ad6dd6335bf3b0ccb9ab295927 (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>
-rw-r--r--mm/zsmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f97e76e5e..9745820c8 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