From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753592AbcEPJcY (ORCPT ); Mon, 16 May 2016 05:32:24 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:37082 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbcEPJcU (ORCPT ); Mon, 16 May 2016 05:32:20 -0400 Date: Mon, 16 May 2016 11:31:46 +0200 From: Michal Hocko To: Xishi Qiu Cc: Linux MM , LKML Subject: Re: why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ? Message-ID: <20160516093146.GA23251@dhcp22.suse.cz> References: <573550D8.9030507@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <573550D8.9030507@huawei.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 13-05-16 11:58:16, Xishi Qiu wrote: > 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. Because they count shmem pages as well and those are living on the anon lru list (see shmem_add_to_page_cache). -- Michal Hocko SUSE Labs