From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756308AbbIXGNy (ORCPT ); Thu, 24 Sep 2015 02:13:54 -0400 Received: from outboundhk.mxmail.xiaomi.com ([207.226.244.122]:48368 "EHLO xiaomi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751501AbbIXGNx (ORCPT ); Thu, 24 Sep 2015 02:13:53 -0400 From: Hui Zhu To: , , , CC: , Hui Zhu Subject: [PATCH v2] zsmalloc: add comments for ->inuse to zspage Date: Thu, 24 Sep 2015 14:13:14 +0800 Message-ID: <1443075194-26291-1-git-send-email-zhuhui@xiaomi.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.235.171.10] X-ClientProxiedBy: CNCAS1.mioffice.cn (10.237.8.131) To cnbox3.mioffice.cn (10.237.8.143) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Hui Zhu --- 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