From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756599AbbIXGpf (ORCPT ); Thu, 24 Sep 2015 02:45:35 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:33956 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750782AbbIXGpe (ORCPT ); Thu, 24 Sep 2015 02:45:34 -0400 Date: Thu, 24 Sep 2015 15:46:20 +0900 From: Sergey Senozhatsky To: Hui Zhu Cc: minchan@kernel.org, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, teawater@gmail.com, sergey.senozhatsky@gmail.com Subject: Re: [PATCH v2] zsmalloc: add comments for ->inuse to zspage Message-ID: <20150924064620.GC626@swordfish> References: <1443075194-26291-1-git-send-email-zhuhui@xiaomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443075194-26291-1-git-send-email-zhuhui@xiaomi.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Cc Andrew On (09/24/15 14:13), Hui Zhu wrote: > Signed-off-by: Hui Zhu Reviewed-by: Sergey Senozhatsky -ss > --- > 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 > > -- > To unsubscribe, send a message with 'unsubscribe linux-mm' in > the body to majordomo@kvack.org. For more info on Linux MM, > see: http://www.linux-mm.org/ . > Don't email: email@kvack.org >