From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752734AbcEMD6d (ORCPT ); Thu, 12 May 2016 23:58:33 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:10942 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502AbcEMD6c (ORCPT ); Thu, 12 May 2016 23:58:32 -0400 Message-ID: <573550D8.9030507@huawei.com> Date: Fri, 13 May 2016 11:58:16 +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: Linux MM , LKML Subject: why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ? 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.0A020205.573550E0.00DC,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: a969523eb1f6978046c4f26f67d3a48f Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I find the count nr_file_pages is not equal to nr_inactive_file + nr_active_file. There are 8 cpus, 2 zones in my system. I think may be the pagevec trigger the problem, but PAGEVEC_SIZE is only 14. Does anyone know the reason? Thanks, Xishi Qiu root@hi3650:/ # cat /proc/vmstat nr_free_pages 54192 nr_inactive_anon 39830 nr_active_anon 28794 nr_inactive_file 432444 nr_active_file 20659 nr_unevictable 2363 nr_mlock 0 nr_anon_pages 65249 nr_mapped 19742 nr_file_pages 462723 nr_dirty 20 nr_writeback 0 ... nr_inactive_file 432444 nr_active_file 20659 total is 453103 nr_file_pages 462723