zsmalloc: add comments for ->inuse to zspage
diff mbox series

Message ID 1442903979-11814-1-git-send-email-zhuhui@xiaomi.com
State New, archived
Headers show
Series
  • zsmalloc: add comments for ->inuse to zspage
Related show

Commit Message

Hui Zhu Sept. 22, 2015, 6:39 a.m. UTC
Signed-off-by: Hui Zhu <zhuhui@xiaomi.com>
---
 mm/zsmalloc.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index f135b1b..1f66d5b 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 pages number that is used in this zspage
  *
  * Usage of struct page flags:
  *	PG_private: identifies the first component page