Re: why the count nr_file_pages is not equal to nr_inactive_file + nr_active_file ?

From: Michal Hocko
Date: Mon May 16 2016 - 05:57:56 EST


[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.
--
Michal Hocko
SUSE Labs