public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] zsmalloc: add comments for ->inuse to zspage
@ 2015-09-24  6:13 Hui Zhu
  2015-09-24  6:46 ` Sergey Senozhatsky
  0 siblings, 1 reply; 2+ messages in thread
From: Hui Zhu @ 2015-09-24  6:13 UTC (permalink / raw)
  To: minchan, ngupta, linux-mm, linux-kernel; +Cc: teawater, Hui Zhu

Signed-off-by: Hui Zhu <zhuhui@xiaomi.com>
---
 mm/zsmalloc.c | 1 +
 1 file changed, 1 insertion(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-24  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  6:13 [PATCH v2] zsmalloc: add comments for ->inuse to zspage Hui Zhu
2015-09-24  6:46 ` Sergey Senozhatsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox