From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753762AbcEPKB7 (ORCPT ); Mon, 16 May 2016 06:01:59 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:44426 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbcEPKB6 (ORCPT ); Mon, 16 May 2016 06:01:58 -0400 Message-ID: <57399A84.20205@huawei.com> Date: Mon, 16 May 2016 18:01:40 +0800 From: Xishi Qiu User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Michal Hocko CC: Aaron Lu , Linux MM , LKML Subject: Re: why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ? References: <573550D8.9030507@huawei.com> <573582DE.3030302@huawei.com> <20160516095720.GB23251@dhcp22.suse.cz> In-Reply-To: <20160516095720.GB23251@dhcp22.suse.cz> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.25.179] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.57399A8C.0032,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: f22053b268ace2ff5ae7f9a1b5c3a421 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016/5/16 17:57, Michal Hocko wrote: > [Sorry I haven't noticed this answer before] > > On Fri 13-05-16 15:31:42, Xishi Qiu wrote: >> On 2016/5/13 15:00, Aaron Lu wrote: >> >> Hi Aaron, >> >> Thanks for your reply, but I find the count of nr_shmem is very small >> in my system. > > which kernel version is this? I remember that we used to account thp > pages as NR_FILE_PAGE as well in the past. > > I didn't get to look at your number more closely though. Hi Michal, It's android kernel, v3.10 I think the thp config is off. Thanks, Xishi Qiu