From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbdBID1h (ORCPT ); Wed, 8 Feb 2017 22:27:37 -0500 Received: from szxga02-in.huawei.com ([119.145.14.65]:14370 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055AbdBID1g (ORCPT ); Wed, 8 Feb 2017 22:27:36 -0500 From: Yisheng Xie To: CC: , , , , , Subject: [PATCH] mm/zsmalloc: fix comment in zsmalloc Date: Thu, 9 Feb 2017 11:23:39 +0800 Message-ID: <1486610619-57588-1-git-send-email-xieyisheng1@huawei.com> X-Mailer: git-send-email 1.7.12.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.102.37] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020202.589BE193.01C9,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a2b490cc95ab34c83186e93a84b76bb2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The class index and fullness group are not encoded in (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage structure"). Instead, they are store in struct zspage. Cc: Minchan Kim Cc: Sergey Senozhatsky Cc: Nitin Gupta Cc: Hanjun Guo Signed-off-by: Yisheng Xie --- mm/zsmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 9cc3c0b..4b87225 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -270,7 +270,7 @@ struct zs_pool { /* * A zspage's class index and fullness group - * are encoded in its (first)page->mapping + * are stored in struct zspage. */ #define FULLNESS_BITS 2 #define CLASS_BITS 8 -- 1.7.12.4