From: Hui Zhu Date: Sat, 7 Nov 2015 00:29:23 +0000 (-0800) Subject: zsmalloc: add comments for ->inuse to zspage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f958c98f28d088a1ef3e021ab7aeb59a234b953;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git zsmalloc: add comments for ->inuse to zspage [akpm@linux-foundation.org: fix grammar] Signed-off-by: Hui Zhu Reviewed-by: Sergey Senozhatsky Cc: Dan Streetman Cc: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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